Method and apparatus for removing motion artifacts from biomedical signals

ABSTRACT

A method and corresponding apparatus employ a time-varying spectral analysis approach for reconstructing a heart-related signal that includes motion artifacts. The motion artifacts are produced by motion of a biomedical sensor relative to a sensing location. By comparing time-varying spectra of the heart-related signal and a motion signal, those frequency peaks resulting from the motion artifacts may be suppressed in a time-varying spectrum of the heart-related signal. The time-varying spectral analysis based approach enables the heart-related signal to be reconstructed with accuracy by suppressing the motion artifacts. Example applications for the method and corresponding apparatus include training aids (e.g., runners&#39; heart-rate monitors) and hospital patient heart-rate monitors.

RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No.62/172,862 filed Jun. 9, 2015 and U.S. Provisional Application No.62/299,944 filed Feb. 25, 2016. The entire teachings of the aboveapplications are incorporated herein by reference.

GOVERNMENT SUPPORT

This invention was made with government support under Grant No.W81XWH-12-1-0541 from the US Army Medical Research and Material Command(USAMRMC). The government has certain rights in the invention.

BACKGROUND

Heart rate monitors have become widely-used training aids for a varietyof sports. Some heart rate monitors use sensors based onphotoplethysmography (PPG) technology. The PPG sensors include infraredlight-emitting diodes (LEDs) and photodetectors, and offer a simple,reliable, low-cost means of monitoring pulse rate noninvasively, both atrest and during exercise.

SUMMARY

During exercise and other activities, PPG and other sensors mayexperience movement, such as shifting position or rotating, relative toa sensing location (e.g., wrist or finger) The movement typicallyresults in an introduction of a motion artifact in an electrical signalproduced by the sensor. The motion artifact may be interpreted by aprocessor as a heart-related signal if not addressed in advance of or aspart of the processing in the processor. By properly addressing themotion artifact, an embodiment disclosed herein has improved accuracy inreconstructing the heart-related signal, thereby enabling processes thatuse the heart-related signal to have better performance.

Accordingly, a method for reconstructing a heart-related signal outputby a biomedical sensor may comprise reconstructing a representation ofthe heart-related signal to produce a reconstructed representation ofthe heart-related signal. The reconstructing may be based on (i) atime-varying spectral analysis of the heart-related signal and a motionsignal, the motion signal output by a motion sensor and representativeof motion artifacts in the heart-related signal, the motion artifactsbeing signal artifacts produced by movement of the biomedical sensorrelative to a sensing location, and the classification of the movementmay be based on (ii) a classification of the movement. The method mayfurther comprise outputting the reconstructed representation of theheart-related signal.

The motion artifacts may be suppressed in the reconstructedrepresentation of the heart-related signal.

The time-varying spectral analysis may include pre-processing theheart-related signal to produce a pre-processed heart-related signal. Inan event the classification indicates that the movement does not rise toa level causing the motion artifacts, the reconstructed representationmay be based on an average value of peak-to-peak intervals in thepre-processed heart-related signal.

The pre-processing may include filtering the heart-related signal toproduce a filtered heart-related signal.

The pre-processing may further include down-sampling the filteredheart-related signal, the down-sampling being at a sampling rate lessthan an original sampling rate.

The time-varying spectral analysis may include computing a firsttime-frequency spectrum (TFS) of the heart-related signal and computinga second TFS of the motion signal.

The first TFS computed and the second TFS computed may be 3-dimensionalspectra, the first TFS computed and the second TFS computed eachincluding a respective time-varying amplitude or power distribution withrespect to time and frequency.

The first TFS computed may be a first time-varying power spectraldensity (PSD) and the second TFS computed may be a second time-varyingPSD.

The reconstructed representation may be a current reconstructedrepresentation. Based on the classification indicating that the movementdoes rise to a level causing the motion artifacts and is apseudo-periodic movement or a periodic movement, the reconstructing mayinclude determining whether at least one spectral peak is present havinga corresponding frequency within a given frequency range at a point intime in the first TFS computed, the current reconstructed representationbeing reconstructed for the point in time. Based on a determination thatthe at least one spectral peak is not present, the current reconstructedrepresentation may be based on a prior reconstructed representation, theprior reconstructed representation associated with a previous point intime in the first TFS computed. The given frequency range may be 0.5 Hzto 3 Hz.

The reconstructing may include retaining up to a pre-determined numberof candidate spectral peaks located at a first point in time in thefirst TFS computed. The candidate spectral peaks retained may be basedon having corresponding frequencies within a given frequency range andhighest amplitude or power values relative to other spectral peakslocated at the first point in time, the other spectral peaks havingrespective frequencies within the given frequency range. Thereconstructing may further include discarding each of the candidatespectral peaks retained that is associated with a same frequency as adominant spectral peak located at a second point in time in the secondTFS computed. The first point in time and the second point time may havesame time values. The given frequency range may be 0.5 Hz to 3 Hz.

The representation may be a current representation and the reconstructedrepresentation may be a current reconstructed representation. In anevent the discarding discards each of the candidate spectral peaksretained, reconstructing the current representation may be based on aprior reconstructed representation, the prior reconstructedrepresentation associated with a previous point in time in the first TFScomputed, the previous point in time being an earlier point in time withrespect to the first point in time.

The discarding may be a first discarding, the representation may be acurrent representation and, in an event the first discarding results inat least one remaining candidate spectral peak retained, reconstructingthe current representation may further include second discarding. Thesecond discarding may discard remaining candidate spectral peaks, of theat least one remaining candidate spectral peak retained, based onwhether a corresponding frequency of the at least one remainingcandidate spectral peak retained is distanced by at least a frequencydifference threshold from a prior reconstructed representation'sfrequency. The prior reconstructed representation associated with aprevious point in time in the first TFS computed. The previous point intime may be an earlier point in time with respect to the first point intime.

Based on each of the at least one remaining candidate spectral peakretained having been discarded by the second discarding, reconstructingthe current representation may be based on the prior reconstructedrepresentation. Based on at least one last candidate spectral peakremaining, the at least one last candidate spectral peak remaining notdiscarded by the second discarding, reconstructing the currentrepresentation may be based on a selected candidate spectral peak. Theselected candidate spectral peak may be selected from amongst the atleast one last candidate spectral peak remaining having a closestcorresponding frequency to the prior reconstructed representation'sfrequency relative to respective frequencies of each of the at least onelast candidate spectral peak remaining.

The dominant spectral peak may have a largest power or amplitude valuerelative to other peaks located at the second point in time in thesecond TFS.

The retaining and the discarding may be based on the classificationindicating that the movement is a pseudo-periodic movement or a periodicmovement, and determining that at least one spectral peak with acorresponding frequency in the given frequency range is present at thefirst point in time.

The time-varying spectral analysis may further include pre-processingthe heart-related signal and the motion signal for the computing of thefirst TFS and the second TFS.

The pre-processing may include filtering the heart-related signal andthe motion signal to produce a filtered heart-related signal and afiltered motion signal, respectively. The pre-processing may furtherinclude down-sampling both the filtered heart-related signal and thefiltered motion signal, the down-sampling being at a sampling rate lessthan an original sampling rate.

The method may further include classifying the classification of themovement by comparing an amount of amplitude modulation in the secondTFS computed to an amplitude modulation threshold. The amplitudemodulation threshold may be dependent on a type of the motion detectorsensor. The classification may indicate whether the movement rises to alevel causing the motion artifacts based on a result of the comparing.In an event the result indicates that the movement does rise to thelevel causing the motion artifacts, classifying the classification ofthe movement may further include determining whether the movement iseither a pseudo-periodic movement or a periodic movement, versus arandom movement.

In determining whether the movement is either the pseudo-periodicmovement or the periodic movement, versus the random movement, themethod may further include identifying a first, second, and thirdfrequency associated, respectively, with a first, second, and thirdspectral peak in the second TFS at a point in time in the second TFS.The first, second, and third peaks may have largest power or amplitudevalues relative to other peaks in the second TFS at the point in time.The first spectral peak may be a largest spectral peak amongst thefirst, second, and third spectral peaks.

In determining whether the movement is either the pseudo-periodicmovement or the periodic movement, versus the random movement, themethod may further include computing a first ratio of the secondfrequency identified to the first frequency identified. The method maydetermine a first comparison result by comparing the first ratiocomputed to a first ratio value. The method may compute a second ratioof the third frequency identified to the first frequency identified. Themethod may determine a second comparison result by comparing the secondratio computed to a second ratio value. The classification may furtherindicate the movement is either the pseudo-periodic movement or theperiodic movement, versus the random movement, based on the firstcomparison result and the second comparison result. The first ratiovalue may be 2 and the second ratio value may be 3.

The time-varying signal analysis may include pre-processing theheart-related signal to produce a pre-processed heart-related signaland, in an event the classification of the movement indicates the randommovement, the reconstructing may include computing an average value of anumber of prior reconstructed representations outputted prior to thereconstructing. The number may be based on a duration of consecutivemotion artifacts, detected prior to the reconstructing. The time-varyingsignal analysis may further include computing a bandpass filter cutofffrequency based on the average value computed, and filtering thepre-processed heart-rate signal by applying the band pass filtercomputed to produce a filtered, pre-processed heart-related signal. Thereconstructed representation may be based on an average peak-to-peakinterval value of the filtered, pre-processed heart-rate signal.

The heart-related signal and the motion signal may be produced,concurrently.

The method may comprise segmenting the heart-related signal into aplurality of windowed heart-related signal data segments and segmentingthe motion signal into a corresponding plurality of windowed motionsignal data segments. The method may comprise repeating thereconstructing and the outputting for each windowed heart-related signaldata segment and each corresponding motion signal data segment. The timewindow may be a value in a range from 2 to 32 seconds.

The biomedical sensor may be at least one of: a photoplethysmogram (PPG)sensor, piezoelectric sensor, Light Emitting Diode (LED) based sensor,camera sensor, and pulse oximeter sensor, and the motion sensor may bean accelerometer.

The biomedical sensor and the motion sensor may be co-located.

The method may further comprise employing the reconstructedrepresentation to determine a heart rate estimate.

The method may further comprise employing the reconstructedrepresentation to determine an arterial oxygen saturation (SpO2)estimate.

The method may further comprise employing the reconstructedrepresentation to detect or predict a heart-related ailment. Theheart-related ailment may include at least one of a heart ratevariability (HRV) condition, atrial fibrillation condition, congestiveheart failure condition, and tachycardia condition.

The reconstructing and the outputting may be performed in real-time withrespect to production of the heart-related signal and the motion signal.

The reconstructing and the outputting may be performed in non-real-timewith respect to production of the heart-related signal and the motionsignal.

According to another embodiment, an apparatus for reconstructing aheart-related signal output by a biomedical sensor may comprise areconstruction unit. The reconstruction unit may be configured toreconstruct a representation of the heart-related signal to produce areconstructed representation of the heart-related signal, thereconstructing based on (i) a time-varying spectral analysis of theheart-related signal and a motion signal, the motion signal output by amotion sensor and representative of motion artifacts in theheart-related signal, the motion artifacts being signal artifactsproduced by movement of the biomedical sensor relative to a sensinglocation, and (ii) a classification of the movement. The apparatus mayfurther comprise an output unit configured to output the reconstructedrepresentation of the heart-related signal.

Yet another example embodiment may include a non-transitorycomputer-readable medium having stored thereon a sequence ofinstructions which, when loaded and executed by a processor, causes theprocessor to complete methods disclosed herein.

It should be understood that embodiments disclosed herein can beimplemented in the form of a method, apparatus, system, or computerreadable medium with program codes embodied thereon.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing will be apparent from the following more particulardescription of example embodiments of the invention, as illustrated inthe accompanying drawings in which like reference characters refer tothe same parts throughout the different views. The drawings are notnecessarily to scale, emphasis instead being placed upon illustratingembodiments of the present invention.

FIG. 1 is a block diagram of an example application for whichembodiments disclosed herein may be applied.

FIG. 2 is a flow diagram of an example embodiment of a method forreconstructing a heart-related signal output by a biomedical sensor.

FIGS. 3A-C are flow diagrams of example embodiments of a method forreconstructing a heart-related signal output by a biomedical sensor.

FIG. 4 is a block diagram of an example embodiment of a system.

FIG. 5 is a block diagram of an example embodiment of an apparatus forreconstructing a heart-related signal output by a biomedical sensor.

FIGS. 6A-6C show Time-Frequency spectra of a recording from a dataset.

FIG. 7 is a filtered time-frequency spectral plot of aphotoplethysmogram (PPG) signal.

FIGS. 8A-8B show motion artifact detection in a PPG spectrum accordingto embodiments disclosed herein.

FIG. 9 shows a comparison of reconstructed heart rate (HR) obtained,according to embodiments disclosed herein, to reference HR obtained fromsimultaneous electrocardiogram (ECG) recordings.

FIG. 10A is an example embodiment of PPG signal reconstruction accordingto embodiments disclosed herein.

FIG. 10B is a zoomed-in version of FIG. 10A.

FIGS. 11A-B show comparisons of heart rate variability (HRV) spectrabetween a reference and a reconstructed HRV time series (e.g., as shownin FIGS. 10A-B) from a motion artifact-contaminated PPG signal for agiven dataset.

FIG. 11C is a performance comparison table of a spectral approach forfiltering motion artifacts (SpaMA) method to alternative methods.

FIGS. 12A, 12B, 13A, 13B, 14A, and 14B show the reconstructed HR andcorresponding power spectral density (PSD) of a sample-sample windowedHR, according to embodiments disclosed herein, in comparison to areference HR from an ECG.

FIG. 14C is a table that includes PPG datasets and experiments settings.

FIGS. 15A-B show an example resultant variable frequency complexdemodulation (VFCDM) time-frequency spectrum of recordings from a givensubject.

FIG. 16 shows twelve components corresponding to the Infrared (IR) andRed signal for the given subject.

FIGS. 17A-C are example spectra plots corresponding to three scenarios.

FIG. 18A shows a representative filtered time-frequency spectral plot ofPPG recording from subject #5.

FIG. 18B shows tracking of HR based on embodiments disclosed herein.

FIGS. 19A-B represent comparisons of an estimated 8 second movingaverage HR from a spectral approach for filtering motion artifacts foroxygen saturation estimation (OxiMA) method to a reference FIR, and anHR calculated from a motion-corrupted PPG signal compared to a referenceHR from an ECG, respectively.

FIGS. 20A-C are example plots of data showing less motion-corrupted datathat can be used for oxygen saturation estimation.

FIGS. 21A-C and FIGS. 22A-B show reconstructed arterial oxygensaturation (SpO2) and FIR in comparison to the reference HR from ECGrecordings for the given subject.

FIG. 23 is a block diagram of an example internal structure of acomputer optionally within an embodiment disclosed herein.

DETAILED DESCRIPTION

A description of example embodiments of the invention follows.

Accurate estimation of a heart rate (HR) and changing arterial oxygensaturation (SpO2) from a heart-related signal, such as aphotoplethysmogram (PPG) signal, during intense physical activity is avery challenging problem. This is because strenuous and high intensityexercise can result in severe motion artifacts (MAs) in theheart-related signal, making accurate HR and SpO2 estimation difficult.

HR monitoring using PPG signals has many advantages compared to usingtraditional ECG sensors, such as simpler hardware implementation, lowercost, and no need for daily application of electrodes (Salehizadeh, S.M. A., et al., Photoplethysmograph Signal Reconstruction based on aNovel Motion Artifact Detection-Reduction Approach. Part II: Motion andNoise Artifact Removal. Annals of Biomedical Engineering, 2014. 42(11):p. 2251-2263). Fluctuations of the PPG signal are caused by changes inarterial blood volume associated with each heartbeat, where themagnitude of the fluctuations depends on the amount of blood rushinginto the peripheral vascular bed, the optical absorption of the blood,skin, and tissue, and the wavelength used to illuminate the blood. Thepulse oximeter signal contains not only the blood oxygen saturation andheart rate (HR) data, but also other vital physiological information(Chon, K. H., S. Dash, and J. Kihwan, Estimation of Respiratory RateFrom Photoplethysmogram Data Using Time-Frequency Spectral Estimation.Biomedical Engineering, IEEE Transactions on, 2009. 56(8): p. 2054-2063;Lee, J. and K. H. Chon, Respiratory Rate Extraction Via anAutoregressive Model Using the Optimal Parameter Search Criterion.Annals of Biomedical Engineering, 2010. 38(10): p. 3218-3225; Dash, S.,et al., Estimation of Respiratory Rate From ECG, Photoplethysmogram, andPiezoelectric Pulse Transducer Signals: A Comparative Study ofTime-Frequency Methods. Biomedical Engineering, IEEE Transactions on,2010. 57(5): p. 1099-1107; Jinseok, L. and K. H. Chon, Time-VaryingAutoregressive Model-Based Multiple Modes Particle Filtering Algorithmfor Respiratory Rate Extraction From Pulse Oximeter. BiomedicalEngineering, IEEE Transactions on, 2011. 58(3): p. 790-794). Thefluctuations of PPG signals contain the influences of arterial, venous,autonomic and respiratory systems on the peripheral circulation.Utilizing a pulse oximeter as a multi-purpose vital sign monitor hasclinical appeal, since it is familiar to the clinician and comfortablefor the patient (Salehizadeh, S. M. A., et al., PhotoplethysmographSignal Reconstruction based on a Novel Motion ArtifactDetection-Reduction Approach. Part II: Motion and Noise ArtifactRemoval. Annals of Biomedical Engineering, 2014. 42(11): p. 2251-2263).Even simple knowledge of HR patterns would provide more useful clinicalinformation than just HR and blood oxygenation, especially in situationsin which a pulse oximeter is the sole monitor available. One majorexample of such benefits can be seen in a study by Chong et al. whichshows that accurate detection of atrial fibrillation can be obtainedfrom PPG data (Jo Woon, C., et al., Arrhythmia Discrimination Using aSmart Phone. Biomedical and Health Informatics, IEEE Journal of, 2015.19(3): p. 815-824). In addition to the acquisition of HR in response toexercise, research has recently focused on obtaining HRV informationfrom wearable sensors including devices that use PPGs (Achten, J. and A.E. Jeukendrup, Heart rate monitoring: applications and limitations.Sports medicine (Auckland, N.Z.), 2003. 33(7): p. 517-538). IncreasedHRV has been associated with lower mortality rates and is affected byboth age and sex (Achten, J. and A. E. Jeukendrup, Heart ratemonitoring: applications and limitations. Sports medicine (Auckland,N.Z.), 2003. 33(7): p. 517-538). During graded exercise, the majority ofstudies show that HRV decreases progressively up to moderateintensities, after which it stabilizes (Laughlin, M. H., Cardiovascularresponse to exercise. Am J Physiol, 1999. 277(6 Pt 2): p. S244-59).Although there are many promising and attractive features of using pulseoximeters for vital sign monitoring, currently they are mainly used onstationary patients. This is because motion artifacts (MAs) result inunreliable HR and SpO₂ estimation (Salehizadeh, S. M. A., et al.,Photoplethysmograph Signal Reconstruction based on a Novel MotionArtifact Detection-Reduction Approach. Part II: Motion and NoiseArtifact Removal. Annals of Biomedical Engineering, 2014. 42(11): p.2251-2263). Clinicians have cited motion artifacts in pulse oximetry asthe most common cause of false alarms, loss of signal, and inaccuratereadings (Jubran, A., Pulse oximetry. Crit Care, 1999. 3(2): p.R11-r17). During physical activities, MA contamination in PPG signalsseriously interferes with HR estimation. The MAs are mainly caused byambient light leaking into the gap between the PPG sensor surface andskin surface. Besides, the change in blood flow due to movements isanother MA source (Maeda, Y., M. Sekine, and T. Tamura, Relationshipbetween measurement site and motion artifacts in wearable reflectedphotoplethysmography. J Med Syst, 2011. 35(5): p. 969-76). In practice,MAs are difficult to remove because they do not have a predefined narrowfrequency band and their spectrum often overlaps that of the desiredsignal (Thakor, N. V. and Y. S. Zhu, Applications of adaptive filteringto ECG analysis: noise cancellation and arrhythmia detection. IEEE TransBiomed Eng, 1991. 38(8): p. 785-94). Consequently, development ofmethods capable of reconstructing the corrupted signal and removingartifacts is challenging. There are a number of general techniques usedfor artifact detection and removal. One of the methods used to removemotion artifacts is adaptive filtering (Diniz, P., Adaptive filtering:algorithms and practical implementation. 2008: Springer Science,Business Media L.L.C., Kalman, R. E., A New Approach to Linear Filteringand Prediction Problems Transactions of the ASME—Journal of BasicEngineering, 1960. Series D(82); Morbidi, F., et al., Application ofKalman Filter to Remove TMS-Induced Artifacts from EEG Recordings.Control Systems Technology, IEEE Transactions on, 2008. 16(6): p.1360-1366; Seyedtabaii, S. S. a.L., Kalman filter based adaptivereduction of motion artifact from photoplethysmographic signal. WorldAcademy of Science, Engineering and Technology, 2008. 37). An adaptivefilter is easy to implement and it also can be used in real-timeapplications, though the requirement of additional sensors to providereference inputs is the major drawback of such methods. There are manymotion and noise artifact reduction techniques based on the concept ofblind source separation (BSS). The aim of BSS is to estimate a set ofuncorrupted signals from a set of mixed signals which is assumed tocontain both the clean and noisy sources (Salehizadeh, S. M. A., et al.,Photoplethysmograph Signal Reconstruction based on a Novel MotionArtifact Detection-Reduction Approach. Part Motion and Noise ArtifactRemoval. Annals of Biomedical Engineering, 2014. 42(11): p. 2251-2263).Some of the popular BSS techniques are independent component analysis(ICA) (Comon, P., Independent component analysis, A new concept? SignalProcessing, 1994. 36(3): p. 287-314), canonical correlation analysis(CCA) (Thompson, B., Canonical Correlation Analysis: Uses andInterpretation. 1984: SAGE Publications), principle component analysis(PCA) (Jolliffe, I. T., Principal Component Analysis. 2 ed. SpringerSeries in Statistics. 2002: Springer-Verlag New York. 488), and singularspectrum analysis (SSA) (Salehizadeh, S. M. A., et al.,Photoplethysmograph Signal Reconstruction based on a Novel MotionArtifact Detection-Reduction Approach. Part II: Motion and NoiseArtifact Removal. Annals of Biomedical Engineering, 2014. 42(11): p.2251-2263; Elsner, J. B. and A. A. Tsonis, Singular Spectrum Analysis: ANew Tool in Time Series Analysis. 1996: Springer). Kim and Yoo (Kim, B.S. and S. K. Yoo, Motion artifact reduction in photoplethysmographyusing independent component analysis. IEEE Trans Biomed Eng, 2006.53(3): p. 566-8) suggested using a basic ICA method and blockinterleaving to remove MA. Krishnan et al. (Krishnan, R., B. Natarajan,and S. Warren, Two-Stage Approach for Detection and Reduction of MotionArtifacts in Photoplethysmographic Data. Biomedical Engineering, IEEETransactions on, 2010. 57(8): p. 1867-1876) later proposed usingfrequency-domain-based ICA. However, the key assumption in ICA, namelystatistical independence or uncorrelation, does not hold in PPG signalscontaminated by MA (Yao, J. and S. Warren, A short study to assess thepotential of independent component analysis for motion artifactseparation in wearable pulse oximeter signals. Conf Proc IEEE Eng MedBiol Soc, 2005. 4: p. 3585-8). Salehizadeh et al. (Salehizadeh, S. M.A., et al., Photoplethysmograph Signal Reconstruction based on a NovelMotion Artifact Detection-Reduction Approach. Part II: Motion and NoiseArtifact Removal. Annals of Biomedical Engineering, 2014. 42(11): p.2251-2263) proposed a motion artifact removal method using SSA. InSalehizadeh, S. M. A., et al., Photoplethysmograph Signal Reconstructionbased on a Novel Motion Artifact Detection-Reduction Approach. Part II:Motion and Noise Artifact Removal. Annals of Biomedical Engineering,2014. 42(11): p. 2251-2263, SSA is used to decompose the corruptedsegment adjacent to the clean segment and the SSA components are chosenin the corrupted segment that have a similar frequency range to that ofthe adjunct clean components. Although Salehizadeh, S. M. A., et al.,Photoplethysmograph Signal Reconstruction based on a Novel MotionArtifact Detection-Reduction Approach. Part H: Motion and Noise ArtifactRemoval. Annals of Biomedical Engineering, 2014. 42(11): p. 2251-2263reports good performance, the method cannot be applied in scenarioswhere the HR and SpO₂ are varying rapidly due to corruption andmovement. Acceleration data are also shown to be helpful to remove MA.For example, Fukushima et al. (Fukushima, H., et al., Estimating heartrate using wrist-type Photoplethysmography and acceleration sensor whilerunning. Conf Proc IEEE Eng Med Biol Soc, 2012. 2012: p. 2901-4)suggested a spectral subtraction technique to remove the spectrum ofacceleration data from that of a PPG signal. Acceleration data can bealso used to reconstruct the observation model for Kalman filtering(Boreom Lee, J. H., Hyun Jae Baek, Jae Hyuk Shin, Kwang Suk Park and WonJin Yi, Improved elimination of motion artifacts from aphotoplethysmographic signal using a Kalman smoother with simultaneousaccelerometry. Physiological Measurement, 2010. 31(12): p. 1585) toremove MA.

Two noteworthy methods are TROIKA and JOSS (Zhilin, Z., P. Zhouyue, andL. Benyuan, TROIKA: A General Framework for Heart Rate Monitoring UsingWrist-Type Photoplethysmographic Signals During Intensive PhysicalExercise. Biomedical Engineering, IEEE Transactions on, 2015. 62(2): p.522-531; Zhang, Z., Photoplethysmography-Based Heart Rate Monitoring inPhysical Activities via Joint Sparse Spectrum Reconstruction. BiomedicalEngineering, IEEE Transactions on, 2015. PP(99): p. 1-1) in whichsparsity-based spectrum estimation and spectral peak tracking withverification, are used to estimate and monitor heart rate duringintensive physical activity, respectively. Both approaches make use ofPPG and accelerometer information to obtain an accurate estimation ofheart rate while running on a treadmill. TROIKA has two extra stages ofsignal decomposition and reconstruction using singular spectrum analysis(SSA) and then applies temporal difference operations on theSSA-reconstructed PPG. SSA components are compared to the accelerometersignals and those components with close frequencies to the accelerometersignals are discarded and the rest are used to reconstruct the signal.In JOSS and TROIKA, spectral peak tracking with verification aims toselect the spectral peaks corresponding to HR. JOSS, which has beenshown to estimate HR more accurately than TROIKA, is based on the ideathat the spectra of PPG signals and simultaneous acceleration signalshave some common spectrum structures, and, thus, formulates the spectrumestimation of these signals into a joint sparse signal recovery modelusing the multiple measurement vector (MMV) model. MMV is used for jointspectrum estimation based on PPG and accelerometer data, which is incontrast to the single measurement vector (SMV) model that was used inTROIKA and was based on only a single PPG signal. Although JOSS has beenshown to be much more accurate than previous methods for reconstructionof heart rate from MA-contaminated PPG signals, the main disadvantage ofthe method is it can merely provide smoothed HR reconstructionestimations. Neither time-domain PPG signal reconstruction nor heartrate variability analysis can be done using JOSS or TROIKA. Temkoproposed an approach to FIR estimation based on Wiener Filtering and thePhase Vocoder (WFPV) (Temko, A. Estimation of Heart Rate fromPhotoplethysmography during Physical Exercise using Wiener Filtering andthe Phase Vocoder. in IEEE EMBS International Conference on Engineeringin Medicine and Biology. 2015. Milan, Italy: IEEE). This work showedthat WFPV on average can perform better than JOSS. The main idea of WFPVis to estimate motion artifacts from accelerometer signals and then usea Weiner filter to attenuate the motion components in the PPG signal.Phase vocoder is also applied to overcome the limited resolution of theFourier transform and to refine the initial dominant frequencyestimation.

According to embodiments disclosed herein, a motion-corruptedheart-related signal, such as a PPG signal, may be reconstructed byemploying a method that is based on a time-varying spectral analysis. Amethod for reconstructing a heart-related signal based on thetime-varying spectral analysis for HR estimation may be referred tointerchangeably herein as a spectral approach for filtering motionartifacts (SpaMA) method or SpaMA. A method for reconstructing theheart-related signal based on the time-varying spectral analysis forSpO2 estimation may be referred to interchangeably herein as a spectralapproach for filtering motion artifacts for oxygen saturation estimation(OxiMA) method or OxiMA.

FIG. 1 is a block diagram 100 of an example application for whichembodiments disclosed herein may be applied. In FIG. 1, a subject 102 isrunning on a treadmill 104. The subject 102 is wearing a wrist band 106that includes a biomedical sensor 108 that produces a heart-relatedsignal 110. The heart-related signal 110 that is produced by thebiomedical sensor 108 includes motion artifacts that are signalartifacts produced by movement of the biomedical sensor 108 relative toa sensing location (not shown). The wrist band 106 may be any suitabletype of wrist band, for example, the wrist band 106 may be a smartwatch.

The biomedical sensor 108 may be a PPG sensor, or any other suitablebiomedical sensor, and the heart-related signal 110 may be a PPG signal,or any other suitable heart-related signal. The sensing location may askin surface of an area on the subject's wrist where the wrist band 106is worn, or any other suitable sensing location at which the biomedicalsensor 108 senses the heart-related signal 110. For example, the sensinglocation may be a skin surface on the subject's forehead, and a headband including the biomedical sensor 108 or maintain the biomedicalsensor 108 at the sensing location may be used instead of the wrist band106.

Physical activity of the subject 102 may cause movement of the wristband 106, and, thus, movement of the biomedical sensor 108, resulting ina gap between the PPG sensor and the sensing location. Ambient light mayleak into the gap inducing spectrum corruption in the PPG signal. Thisis because the power of the PPG signal is dependent on a depth andreflection of the PPG light from the PPG sensor to the subject's skin.As such, strenuous and high intensity exercise of the subject 102, suchas running or any other suitable activity, may result in movement thatrises to a level causing motion artifacts in the heart-related signal110. According to embodiments disclosed herein, the heart-related signal110 may be reconstructed 112, producing a reconstructed heart-relatedsignal with the motion artifacts suppressed 114. The reconstructedheart-related signal with the motion artifacts suppressed 114 may beused to accurately estimate HR, SpO2, or any other suitableheart-related estimate. As such, the reconstructed heart-related signalmay be employed to detect or predict a heart-related ailment. Theheart-related ailment may include at least one of a heart ratevariability (HRV) condition, atrial fibrillation condition, congestiveheart failure condition, and tachycardia condition.

It should be understood that the PPG sensor is one example of abiomedical sensor, the PPG signal is one example of a heart-relatedsignal, and that any suitable type of biomedical sensor may be employedto produce any suitable type of a heart-related signal. Further,movement of the biomedical sensor 108 relative to the sensing locationmay be caused by any suitable source of the movement that causesmovement of the biomedical sensor 108 relative to the sensing location.It should also be understood that a subject referred to herein may beany living being, such as a person or an animal, and may be referred tointerchangeably herein as a user.

FIG. 2 is a flow diagram 200 of an example embodiment of a method forreconstructing a heart-related signal output by a biomedical sensor. Theexample embodiment of the method of FIG. 2 may be applied to eitherSpaMA or OxiMA and may be applied to other applications that produce aheart-related estimate. The method may start (202) and reconstruct arepresentation of the heart-related signal to produce a reconstructedrepresentation of the heart-related signal. The reconstructing may bebased on (i) a time-varying spectral analysis of the heart-relatedsignal and a motion signal, the motion signal output by a motion sensorand representative of motion artifacts in the heart-related signal, themotion artifacts being signal artifacts produced by movement of thebiomedical sensor relative to a sensing location, and (ii) aclassification of movement (204). The method may output thereconstructed representation of the heart-related signal (206), and themethod thereafter ends (208) in the example embodiment.

The method may comprise segmenting the heart-related signal into aplurality of windowed heart-related signal data segments and the motionsignal into a corresponding plurality of windowed motion signal datasegments and repeating the reconstructing and the outputting for eachwindowed heart-related signal data segment and each corresponding motionsignal data segment. The time window may be a value in a range from 2 to32 seconds. For example, the window[k] of raw PPG data of FIG. 3A,element 304, disclosed below, and the window[k] of raw accelerometerdata shown in FIG. 3A, element 310, disclosed below, may each includedata from the respective PPG and accelerometer signals that may becollected over a time window from 2 to 32 seconds. According to oneembodiment, the time window may be 8 seconds.

The method may employ the reconstructed representation to determine aheart rate estimate. The method may employ the reconstructedrepresentation to determine an arterial oxygen saturation (SpO2)estimate. The method may employ the reconstructed representation todetect or predict a heart-related ailment. The heart-related ailment mayinclude at least one of a heart rate variability (HRV) condition, atrialfibrillation condition, congestive heart failure condition, andtachycardia condition.

The heart-related signal and the motion signal may be produced,concurrently.

According to some embodiments, the biomedical sensor may be at least oneof: a photoplethysmogram (PPG) sensor, piezoelectric sensor, LightEmitting Diode (LED) based sensor, camera sensor, and pulse oximetersensor. The motion sensor may be an accelerometer, or any other suitabledevice that produces a motion signal. If an accelerometer, theaccelerometer may be a 3-axial type accelerometer, or any other suitabletype of accelerometer.

The biomedical sensor and the motion sensor may be co-located. Forexample, the wrist band 106 of FIG. 1, disclosed above, may be asmartwatch and the biomedical sensor and motion sensor may be a PPGsensor and an accelerometer, respectively, that are both disposed in thesmartwatch or other suitable wearable device.

FIGS. 3A-C are flow diagrams of example embodiments of a method forreconstructing a heart-related signal output by a biomedical sensorbased on embodiments disclosed in Tables 1-3, disclosed below. Themethod may be either a SpaMA or OxiMA method.

TABLE 1 Stages 1 and 2 Stage 1. Time-Varying Spectral analysis (see FIG.3A) 1.1. Filter the PPG and Accelerometer signal with cutoff frequency[1, 50]/Fs/2 Hz. 1.2. Down sample the PPG and Accelerometer signal to ¼of original sampling rate (Fs). 1.3. Compute the time frequency spectrumof both PPG and Accelerometers [0-10 Hz]. Stage 2. MovementClassification (see FIG. 3A) 2.1. Check each accelerometer (X, Y or Z)amplitude modulation at each window and compare to a pre-defined motionamplitude threshold. (The threshold varies depending on the type ofaccelerometer sensor). Signal is clean if AM [Acc_(x or y or z) (k)] <Motion_Threshold and the signal is corrupted by motion otherwise. If thesignal is clean calculate the Heart Rate from peak-to-peak intervals,otherwise go to step 2.2. 2.2. If the signal is corrupted check if themovement is pseudo-periodic (e.g. during walk, jog, run) or non-periodic(e.g. any random movements) The assumption is when movement ispseudo-periodic the accelerometer data should comprised of a fundamentalfrequency component and harmonics of the fundamental frequency at itsdouble and third frequency band. This means the ratio of the firstharmonic to the fundamental frequency should be almost 2 and the secondharmonic to the fundamental should be around 3. 2.2.1. Extract thefundamental frequency component, the 1^(st) and 2^(nd) harmonics from(e.g., VFCDM) time-frequency spectrum of accelerometers. The first threehighest peaks in spectral array should represent the fundamental, 1^(st)and 2^(nd) harmonics as long as the movement is pseudo-periodic. 2.2.2.Calculate the ratio of the extracted 1st and 2nd fundamental frequencyto the extracted fundamental frequency. If the ratios are close to 2 and3, this indicates that the movement is most likely pseudo-periodicotherwise it is non-periodic. 2.2.3. If the movement is pseudo-periodicdo the Stages 3-5 (See Table 2 and FIG. 3B), otherwise go to Stage 6(See Table 3 and FIG. 3C).

TABLE 2 Stages 3-5 Stage 3. Spectral Filtering (see FIG. 3B) 3.1. AssumeHR to be in the frequency range of [0.5 Hz-3 Hz], this accounts for bothlow and high heart rates. 3.2. The first highest three peaks and theircorresponding frequencies in the PPG filtered spectrum are assumed tohave HR information. 3.3. Only the largest frequency peak (thatrepresents the fundamental frequency of movement) of the accelerometers'spectra is used for motion artifact detection in Stage 4. Stage 4.Motion Artifact Detection (see FIG. 3B) 4.1. Compare the frequencies ofthe three peaks in the PPG spectrum with the frequency of the largestpeak in the accelerometers' spectra. If the first or second largestpeaks in the PPG spectrum are similar to that of the accelerometers'peaks, then motion artifact is present in the PPG. 4.2. If motionartifact is detected from 3.1, then the corresponding frequency peak(usually the first or second largest peak) in the PPG spectrum should bediscarded. Stage 5. Heart Rate Tracking and Extraction from PPG Spectrum(see FIG. 3B) Case (1): From 3.1- if the spectrum is corrupted bymovement and only the first largest peak is corrupted, then the HRfrequency should be the frequency of the second peak in the spectrum.Case (2): From 3.1- if the spectrum is corrupted by movement and boththe first and second largest peaks have similar frequencies to those ofthe accelerometers' peaks, then the HR frequency should be the frequencyof the third peak in the spectrum. Case (3): Due to a gap between thepulse oximeter and a subject's skin, the HR frequency cannot beextracted from the spectrum and in this case the previous HR frequencyis used or for offline implementation a cubic spline interpolation canbe applied to fill in the missing HR information.

TABLE 3 Stage 6 Stage 6. Adaptive Bandpass Filtering (non-periodicmovements) (see FIG. 3C) When the movement is random and non-periodic itis difficult or not possible to identify HR trace from time-frequencyspectrum (for example if stage 5 is not applicable). In this case whichmay happen more often, a new procedure is adopted that is calledadaptive bandpass filtering. The assumption here is that HR does notdeviate more than 10 bpm from the average of previous m HR values within2 seconds. 6.1. Set averaging window length to m (e.g. m = 5) andcalculate theaverage of recent m estimated HR values.${HR}_{mavg} = {\frac{1}{m}{\sum\limits_{j = 1}^{m}\;{{HR}\left( {k - j} \right)}}}$Where k is the current window. The window length m = 5 should only beused for up to 10 seconds of consecutive motion artifact corrupteddatapoints. If motion corrupted data last more than 10 seconds, m shouldbe increased to more than 5. 6.2. Take the most recent estimated HRvalue and calculate bandpass filter cutoff frequency. F_(Cutoff) =[HR_(mavg) − 10, HR_(mavg) + 10]/60/Fs/2 Design a bandpass filter oforder 4 with cutoff frequency (F_(CutOff)). Apply the filter on the PPGsegment. 6.3. Calculate HR from peak-to-peak intervals of the filtereddata segment obtained from 6.2. Take the average of the instantaneous HRas estimated HR value at window k.

FIG. 3A is a flow diagram (300) of an example embodiment of a method fora time-varying spectral analysis and movement classification, asdisclosed in Stage 1 (time-varying spectral analysis) and Stage 2(movement classification), respectively, in Table 1, for reconstructingthe representation. The method may start (302) and the time-varyingspectral analysis may be employed on a first windowed segment window[k]of raw PPG data (304) and a second windowed segment window[k] of rawaccelerometer (ACC) data (310). The raw PPG data (304) and the raw ACCdata (310) may be extracted from a heart-related signal that is a PPGsignal and a motion signal that is an accelerometer signal,respectively.

As disclosed in Stage 1 of Table 1, the time-varying spectral analysisof FIG. 3A may include pre-processing the heart-related signal (306) toproduce a pre-processed heart-related signal. The pre-processing (306)may include filtering the heart-related signal to produce a filteredheart-related signal. The pre-processing (306) may further includedown-sampling the filtered heart-related signal, the down-sampling beingat a sampling rate less than an original sampling rate, to produce adown-sampled, filtered heart-rate signal. The time-varying spectralanalysis may further include pre-processing the motion signal (312) toproduce a pre-processed motion signal. The pre-processing (312) mayinclude filtering the motion signal to produce a filtered motion signal.The pre-processing (312) may further include down-sampling the filteredmotion signal, the down-sampling being at a sampling rate less than anoriginal sampling rate, to produce a down-sampled, filtered motionsignal.

As further disclosed in Stage 1 of Table 1, the time-varying spectralanalysis of FIG. 3A may include computing a first time-frequencyspectrum (TFS) to produce a first TFS (308) of the down-sampled,filtered heart-related signal and computing a second TFS to produce asecond TFS (314) of the down-sampled, filtered motion signal. Accordingto some embodiments, filtering and down-sampling of the heart-relatedsignal and motion signal for computing the first TFS (308) and thesecond TFS (314), respectively, may be optional. The first TFS (308)(also referred to interchangeably herein as the first TFS computed) andthe second TFS (314) (also referred to interchangeably herein as thesecond TFS computed) may be 3-dimensional spectra, the first TFScomputed and the second TFS computed each including a respectivetime-varying amplitude or power distribution with respect to time andfrequency.

For example, the first TFS computed may be a first time-varying powerspectral density (PSD) and the second TFS computed may be a secondtime-varying PSD. A time-frequency technique, such as a variablefrequency complex demodulation (VFCDM), disclosed in U.S. Pat. No.8,388,543 B2, incorporated herein in its entirety by reference, may beused for computing the first TFS (308), that is, a TFS of the PPGsignal, and the second TFS (314), that is, a TFS of the accelerometersignal. However, it should be understood that any suitabletime-frequency technique may be used, such as a smoothed pseudowigner-ville method, or a wavelet based method.

As disclosed in Stage 2 of Table 1, classifying the classification ofthe movement (316) in FIG. 3A may include comparing an amount ofamplitude modulation in the second TFS (314) computed to an amplitudemodulation threshold. The amplitude modulation threshold may bedependent on a type of the motion detector sensor, such as a type of theaccelerometer. The classification of the movement may indicate whetherthe movement rises to a level causing motion artifacts in theheart-related signal, that is, the PPG signal, based on a result of thecomparing, as disclosed in Stage 2 of Table 1.

In an event the movement classification (316) of FIG. 3A indicates thatthe movement does not rise to a level causing the motion artifacts(322), a peak-peak interval (PP) of the filtered heart-related signal,or alternatively, the filtered, down-sampled heart-rate signal, may becomputed (318) and the reconstructed representation HR(k) may be basedon an average value of peak-to-peak intervals (320) in the pre-processedheart-related signal, and the method thereafter ends (325) in theexample embodiment.

In an event the movement classification (316) indicates that themovement does rise to the level causing the motion artifacts (323),classifying the classification of the movement may further includedetermining (324) whether the movement is either a pseudo-periodicmovement or a periodic movement, versus a random movement, as disclosedin Stage 2 of Table 1.

With reference to Stage 2 of Table 1, in determining whether themovement is either the pseudo-periodic movement or the periodicmovement, versus the random movement, the method may further includeidentifying a first, second, and third frequency associated,respectively, with a first, second, and third spectral peak in thesecond TFS at a point in time in the second TFS. The first, second, andthird peaks may have largest power or amplitude values relative to otherpeaks in the second TFS at the point in time. The first spectral peakmay be a largest spectral peak amongst the first, second, and thirdspectral peaks.

In determining whether the movement is either the pseudo-periodicmovement or the periodic movement, versus the random movement, themethod may compute a first ratio of the second frequency identified tothe first frequency identified. The method may determine a firstcomparison result by comparing the first ratio computed to a first ratiovalue. The method may compute a second ratio of the third frequencyidentified to the first frequency identified and determine a secondcomparison result by comparing the second ratio computed to a secondratio value. The classification may further indicate the movement iseither the pseudo-periodic movement or the periodic movement, versus therandom movement, based on the first comparison result and the secondcomparison result. The first ratio value may be 2 and the second ratiovalue may be 3. The classification of the movement may be periodic ifthe first ratio and the second ratio are exactly 2 and 3, respectively,while the classification of the movement may be pseudo-periodic if thefirst ratio and the second ratio are approximately 2 and 3,respectively, within a pre-determined level of accuracy.

In an event the classification of the movement is periodic orpseudo-periodic, the method of FIG. 3A may continue with the method ofFIG. 3B, disclosed below. In an event the classification of the movementis random, the method of FIG. 3A continues to the method of FIG. 3C,disclosed below.

FIG. 3B is a flow diagram (330) of an example embodiment of a method forspectral filtering, motion artifact detection, and heart rate trackingand extraction, as disclosed in Stages 3, 4, and 5, respectively, ofTable 2, for reconstructing the representation. The reconstructedrepresentation may be referred to herein as a current reconstructedrepresentation or HR(k). As disclosed above with regard to FIG. 3A, inan event the classification of the movement (316) is periodic orpseudo-periodic, the method of FIG. 3A may continue with the method ofFIG. 3B.

The method of FIG. 3B may start (331) and retain (332) up to apre-determined number N of candidate spectral peaks located at a firstpoint in time in the first TFS, that is, the first TFS from FIG. 3A. Itshould be understood that the method of FIG. 3B may be performed foreach point in time of the first TFS and the second TFS. According to oneembodiment, the pre-determined number N may be 3. The candidate spectralpeaks retained may be based on having corresponding frequencies within agiven frequency range. The candidate spectral peaks may be N peaks inthe given frequency range that have highest amplitude or power valuesrelative to other spectral peaks, that is, the first N highest peaks. Itshould be understood that the other spectral peaks have respectivefrequencies also within the given frequency range and are peaks locatedat the first point in time in the first TFS. The given frequency rangemay be 0.5 Hz to 3 Hz. As such, the N first highest peak in the range0.5 Hz to 3 Hz in the first TFS may be retained at the first time point.Since no peaks in the given frequency range may be present at the firsttime point, the method may determine (336) whether at least one spectralpeak is present.

Based on the determination (336) that no peak is present, the currentreconstructed representation HR(k) may be based on a prior reconstructedrepresentation HR(k−1) (340), the prior reconstructed representationHR(k−1) associated with a previous point in time, such as the previouswindow k−1, in the first TFS computed, and the method thereafter ends(354) in the example embodiment.

Based on a determination (336) that the at least one spectral peak ispresent, the method may discard (338) each of the candidate spectralpeaks retained, that is, each peak of the N first highest peaksdetermined at (332), if the peak is associated with a same frequency asa dominant spectral peak located at a second point in time in the secondTFS (314) computed as disclosed above with regard to FIG. 3A. The firstpoint in time and the second point time may have same time values. Thedominant spectral peak may have a largest power or amplitude valuerelative to other peaks located at the second point in time in thesecond TFS. The method may determine (342) whether any peaks areretained after the discarding (338). The discarding (338) may bereferred to herein as a first discarding.

In an event the discarding (338) discards each of the candidate spectralpeaks retained, reconstructing the current representation HR(k) may bebased on the prior reconstructed representation, HR(k−1) (340), and themethod thereafter ends (354) in the example embodiment.

In an event the first discarding (338) results in at least one remainingcandidate spectral peak retained, reconstructing the currentrepresentation may further include second discarding (348). The seconddiscarding (348) may discard remaining candidate spectral peaks, of theat least one remaining candidate spectral peak retained, based onwhether a corresponding frequency of the at least one remainingcandidate spectral peak retained is distanced (346) by at least afrequency difference threshold, such as 10 bpm, from a priorreconstructed representation's frequency, that is, a frequencyassociated with, for example, HR(k−1).

Based on each at least one remaining candidate spectral peak retainedhaving been discarded by the second discarding (348), reconstructing thecurrent representation may be based on the prior reconstructedrepresentation HR(k−1) (350), and the method thereafter ends (354) inthe example embodiment.

Based on at least one last candidate spectral peak remaining from thesecond discarding (348), reconstructing the current representation maybe based on a selected candidate spectral peak (352). The selectedcandidate spectral peak may be selected from amongst the at least onelast candidate spectral peak remaining having a closest correspondingfrequency to the prior reconstructed representation's frequency relativeto respective frequencies of each of the at least one last candidatespectral peak remaining, and the method thereafter ends (354) in theexample embodiment.

As disclosed above with regard to FIG. 3A, in an event theclassification of the movement (316) is random, the method of FIG. 3Amay continue with the method of FIG. 3C.

FIG. 3C is a flow diagram (330) of an example embodiment of a method foradaptive bandpass filtering of non-periodic movements, that is, randommovements, for reconstructing the representation, as disclosed in Stage6 of Table 3. The method of FIG. 3C may start (362) and compute anaverage value of a number m of prior reconstructed representationsoutputted prior to the reconstructing (362). The number m may be basedon a duration of consecutive motion artifacts, detected prior to thereconstructing of the representation HR(k). For example, if motionartifacts were detected for windows k−1, k−2, and k−3, m may beunderstood to be 3.

The method may compute a bandpass filter cutoff frequency (366). Thecutoff frequency may be based on the average value computed HR_(mavg).The method may filter the pre-processed heart-rate signal (306),disclosed in FIG. 3A, above, by applying the band pass filter computed(368) to produce a filtered, pre-processed heart-related signal. Thereconstructed representation HR(k) may be based on an averagepeak-to-peak interval value (372) of the filtered, pre-processedheart-rate signal, and the method thereafter ends (374) in the exampleembodiment.

FIG. 4 is a block diagram of an example embodiment of a system (400).The system includes an apparatus 420 for reconstructing a heart-relatedsignal 410 c output by a biomedical sensor (not shown). The apparatus420 includes a reconstruction unit 416 and an output unit 418. Thereconstruction unit 416 may be configured to produce a reconstructedrepresentation of the heart-related signal 414 c. The reconstructing maybe based on (i) a time-varying spectral analysis of the heart-relatedsignal 410 c and a motion signal 411 c, the motion signal 411 c outputby a motion sensor (not shown) and representative of motion artifacts inthe heart-related signal 410 c, the motion artifacts being signalartifacts produced by movement of the biomedical sensor (not shown)relative to a sensing location (not shown), and (ii) a classification ofthe movement. The output unit 418 may be configured to output thereconstructed representation of heart-related signal 414 c.

The apparatus 420 may be communicatively coupled to a network 401 toreceive the heart related signal 410 c and the motion signal 411 c. Thenetwork may be a wireless network or any other suitable network. Thereconstructing and the outputting may be performed in near real-timewith respect to production of the heart-related signal 410 c and themotion signal 411 c. Alternatively, the apparatus may be coupled to adatabase (not shown) storing representations of the heart related signal410 c and the motion signal 411 c, and the reconstructing and theoutputting may be performed in non-real-time with respect to productionof the heart-related signal 410 c and the motion signal 414 c.

The heart-related signal 410 c may include raw heart-related signal datathat includes the raw heart-related signal data 410 a and the rawheart-related signal data 410 b produced by biometric sensors (notshown) that sense the heart-related signal data 410 a and the rawheart-related signal data 410 b from sensing locations (not shown) on afirst user 406 a and a second user 406 b, respectively. The motionsignal 411 c may include raw motion signal data that includes the rawmotion signal data 411 a and the raw motion signal data 411 b frommotion sensors (not shown). The raw motion signal data 411 a and the rawmotion signal data 411 b may represent motion artifacts in theheart-related signal data 410 a and the raw heart-related signal data410 b, respectively.

It should be understood that the raw heart-related signal data 410 a-band the raw motion signal data 411 a-b may be sent to the apparatus 420in any suitable way. For example, the raw heart-related signal data 410a and the raw motion signal data 411 a may be sent in a payload of apacket; alternatively the raw heart-related signal data 410 a and theraw motion signal data 411 a may be sent in payloads of differentpackets. Similarly, the raw heart-related signal data 410 b and the rawmotion signal data 411 b may be sent in a payload of a packet;alternatively, the raw heart-related signal data 410 b and the rawmotion signal data 411 b may be sent in payloads of different packets.

The user 406 a may be at a gym where the user 406 a is exercising, andsuch physical activity by the user 406 a may cause motion artifacts inthe raw heart-related signal data 410 a. The user 406 b may be in adifferent location, such as a hospital. The user 406 b may performmovements out of boredom, such wrist shaking, causing motion artifactsin the raw heart-related signal data 410 b. As such, the correspondingmotion artifacts may be suppressed in the reconstructed representations414 a and 414 b of the heart-related signals 414 a and 414 b,respectively, according to embodiments disclosed herein. Thereconstructed representations 414 a and 414 b, or information derivedtherefrom, may sent to biometric devices or other devicescommunicatively coupled to the network 401 the user 406 a and 406 mayhave access to such device, respectively. Alternatively, thereconstructed representations 414 a and 414 b, or information derivedtherefrom, may sent in any suitable manner to another devicecommunicatively coupled to the network 401 such that the reconstructedrepresentations 414 a and 414 b, or information derived therefrom, maybe accessible to a third party, such as doctor, or any other suitableparty.

FIG. 5 is a block diagram 500 of an example embodiment of an apparatus(520) for reconstructing a heart-related signal 510 output by abiomedical sensor 508. The apparatus 520 includes a reconstruction unit516 and an output unit 518. The reconstruction unit 516 may beconfigured to produce a reconstructed representation of theheart-related signal 514. The reconstructing based on (i) a time-varyingspectral analysis of the heart-related signal 510 and a motion signal511, the motion signal 511 output by a motion sensor 509 andrepresentative of motion artifacts in the heart-related signal 510. Themotion artifacts may be signal artifacts produced by movement of thebiomedical sensor 508 relative to a sensing location (not shown), and(ii) a classification of the movement.

The output unit 518 may be configured to output the reconstructedrepresentation of the heart-related signal 514. The apparatus 520 mayinclude the biomedical sensor 508 and the motion sensor 509. Thereconstructing and the outputting may be performed in real-time withrespect to production of the heart-related signal 510 and the motionsignal 511.

The apparatus 520 may be a wearable device, such as a smartwatch, or anyother suitable device, such as a wearable personal biometric monitoringdevice. The apparatus 520 may have a user interface (not shown) topresent the reconstructed representation of the heart-related signal 514or information derived therefrom, such as a characteristic,notification, alarm, or any other suitable information. Thereconstructed representation of heart-related signal 514 or theinformation derived therefrom may be presented to a user via a userinterface that may be a visual or audio based user interface.

According to one embodiment, the apparatus 520 may include a heart rateunit (not shown) configured to employ the reconstructed representationof the heart-related signal 514 to determine a heart rate estimate.According to another embodiment, the apparatus 520 may include anarterial oxygen saturation (SpO2) unit (not shown) configured to employthe reconstructed representation of the heart-related signal 514 todetermine a SpO2 estimate. According to yet another embodiment, theapparatus may include an ailment unit (not shown) configured to employthe reconstructed representation of the heart-related signal 514 todetect or predict a heart-related ailment, the heart-related ailmentincluding at least one of a heart rate variability (HRV) condition, anatrial fibrillation condition, a congestive heart failure condition, anda tachycardia condition. It should be understand that any combination ofthe heart rate unit, SpO2 unit, and ailment unit may be included in theapparatus 520 in combination with any other units disclosed herein.

SpaMA Results

According to embodiments disclosed herein, HR reconstruction and PPGsignal reconstruction may be based on a time-varying spectral analysis.As disclosed above with reference to FIGS. 3A-F, embodiments disclosedherein may be based on power spectral densities (PSDs) of both PPG andaccelerometer signals for each time shift of a corresponding windoweddata segment of the respective signal. According to embodimentsdisclosed herein, by comparing time-varying spectra of the PPG andaccelerometer data, those frequency peaks resulting from motionartifacts may be suppressed from the PPG spectrum.

According to some embodiments, the method may be comprised of sixstages, such as the six stages disclosed above in reference to FIGS.3A-F. According to another embodiment the method may have five distinctstages: (1) time-varying power spectral density (PSD) calculation, (2)spectral filtering, (3) motion artifact detection, (4) HR reconstructionand (5) signal reconstruction. According to embodiments disclosedherein, the method may include computing a window-segmented powerspectral density of both PPG and accelerometer signals in real-time toscale each estimate of the PSD by the equivalent noise bandwidth of thewindow (Stoica, P. and R. L. Moses, Introduction to Spectral Analysis.1997: Prentice Hall).

The simplest way to approach the PSD calculation may be to employ aperiodogram. However, a periodogram has drawbacks in that it is aninconsistent spectrum estimator, has high variance, and has leakageeffects (Stoica, P. and R. L. Moses, Introduction to Spectral Analysis.1997: Prentice Hall). Thus, a dominant spectral peak can lead to anestimated spectrum that contains power in frequency bands where thereshould be no power. However, both problems can be solved bydown-sampling the raw signal, as disclosed above with reference to FIGS.3A-F, and then using a sufficiently small frequency step by setting alarge number of frequency points. Thus, embodiments disclosed herein mayresample the signal from the original sampling frequency to, for example¼ of it, that is, down-sample the signal, and then apply a periodogrammethod with frequency resolution of 0.001.

Embodiments disclosed herein may limit the spectrum to the heart ratefrequency range of [0.5 Hz-3 Hz], as disclosed above with reference toFIGS. 3A-F, and take the frequency and power information of the firstthree peaks in the PSD at each window and signal segment. Embodimentsdisclosed herein may be based on an understanding that the heart ratecomponent in a typical clean (motion free) PPG signal is always thedominant frequency component in the time-varying power spectrum, thus,the highest peak of the spectrum corresponds to the HR frequency. Thus,when movement happens the dominant component can be replaced by movementcomponents which shift the HR to the second or third peak in thespectrum. As such, embodiments disclosed herein may compare the first Npeaks, such as 3 peaks, disclosed above, and corresponding frequenciesof the PPG spectrum to the first peak and frequency of theaccelerometers' spectra at each window and choose the frequencycomponents (out of three) that are different from the accelerometers'frequency.

Embodiments disclosed herein may be further based on an understandingthat there is coherence between a spectral peak in the PPG and theaccelerometers' spectra that signifies a motion noise artifact in thePPG signal and that peak should be discarded in the FIR reconstruction.After discarding these movement peaks in the spectrum, the next highestpeak that is closest to the estimated HR of the previous window may bechosen at each window. By reconstructing the HR frequency at eachwindow, simultaneously, the PPG signal may be reconstructed by using thepower, frequency and phase of the signal that corresponds to the HRfrequency. That is, the time-domain signals may be reconstructed fromthe time-frequency domain.

The SpaMA method was applied to three different datasets and 4 types ofactivities. The three different datasets included: 1) training datasetsfrom the 2015 IEEE Signal Processing Cup Database recorded from 12subjects while performing treadmill exercise from 1 km/h to 15 km/h; 2)test datasets from the 2015 IEEE Signal Processing Cup Database recordedfrom 11 subjects while performing forearm and upper arm exercise; and 3)Chon Lab dataset including 10 min recordings from 10 subjects duringtreadmill exercise.

Electrocardiogram (ECG) signals from all three datasets provided thereference HRs which were used to determine the accuracy of the SpaMAmethod. The performance of the SpaMA method was calculated by computingthe mean absolute error between the estimated HR from the PPG and thereference HR from the ECG. The average estimation errors using the SpaMAmethod on the first, second and third datasets are 0.89, 1.93 and 1.38beats/min respectively, while the overall error on all 33 subjects is1.86 beats/min and the performance on only treadmill experiment datasets(22 subjects) is 1.11 beats/min. Moreover, it was found that dynamics ofheart rate variability (HRV) can be accurately captured using the SpaMAmethod where the mean Pearson's correlation coefficient was found to be0.98 between the power spectral densities of the reference and thereconstructed heart rate time series. These results show that the SpaMAmethod has a potential for PPG-based HR monitoring in wearable devicesfor fitness tracking and health monitoring during intense physicalactivities.

Embodiments disclosed herein not only provide PPG signal and HRreconstruction but also the potential to do heart rate variabilityanalysis on the results. As disclosed below, embodiments disclosedherein can outperform the JOSS technique in heart rate estimation byproviding less error to the reference, which yields higher accuracy.

Embodiments disclosed herein were evaluated on three different datasets.The first two datasets were provided for the IEEE Signal Processing Cupand are publically available. The three datasets are: 1.) 12 PPGtraining datasets (running on treadmill) from an IEEE signal processingcompetition (Available from:http://www.signalprocessingsociety.org/spcup2015/index.html) which wasinitially used in (Zhilin, Z., P. Zhouyue, and L. Benyuan, TROIKA: AGeneral Framework for Heart Rate Monitoring Using Wrist-TypePhotoplethysmographic Signals During Intensive Physical Exercise.Biomedical Engineering, IEEE Transactions on, 2015. 62(2): p. 522-531;Zhang, Z., Photoplethysmography-Based Heart Rate Monitoring in PhysicalActivities via Joint Sparse Spectrum Reconstruction. BiomedicalEngineering, IEEE Transactions on, 2015. PP(99): p. 1-1, 2.) 11 PPG testdatasets (e.g., arm exercise) from the IEEE signal processingcompetition and 3.) 10 PPG recordings from the Chon lab (running ontreadmill).

(1) IEEE Signal Processing Competition Training Dataset: Asingle-channel PPG signal, a three-axis acceleration signal, and an ECGsignal simultaneously recorded from 12 Asian male subjects ranging inage from 18 to 35. For each subject, the PPG signal was recorded fromtheir wrist using a pulse oximeter (PO) with green LED (wavelength: 609nm). The acceleration signal was also recorded from each subject's wristusing a three-axis accelerometer. Both the PO and the accelerometer wereembedded in a wristband, which was comfortably worn. The ECG signal wasrecorded from the chest and it is used as the reference heart rate. Allsignals were sampled at 125 Hz.

(2) IEEE Signal Processing Competition Test Dataset: The datasetconsists of 11 five minute recordings which were collected from 19 to 58year old subjects performing intensive arm movements (e.g. boxing). Foreach subject, PPG signals were recorded with a sensing location at thewrist using a pulse oximeter with green LEDs (wavelength: 515 nm). Theacceleration signal was also recorded from at the sensing location atthe wrist using a three-axis accelerometer. Both the PO and theaccelerometer were embedded in a wristband. An ECG signal was recordedsimultaneously from each subject's chest using wet ECG sensors. Allsignals were sampled at 125 Hz and sent to a nearby computer viaBluetooth.

(3) Chon Lab Dataset: This dataset was recorded in the Chon Lab from 10healthy subjects (9 male/1 female), with ages ranging from 26 to 55. Foreach subject, the PPG signal was recorded from their forehead using a POwith red and infrared LED (wavelength: 660 and 940 nm). The accelerationsignal was also recorded from each subject's forehead using a three-axisaccelerometer. Both the pulse oximeter and the accelerometer wereembedded in a headband and the signals were sampled at 80 Hz. The ECGsignal was recorded as a reference from the chest using ECG sensors,sampled at 400 Hz. During data recording, the subjects walked, joggedand ran on a treadmill with speeds of 3, 5 and 7 mph, respectively, for9 min. At the end, all experimental subjects were asked to performrandom arbitrary movements for 1 min.

For all three datasets, the data was down-sampled to 20 Hz since theestimation of heart rate is carried out in the frequency domain and thissampling rate is sufficiently high to obtain even heart rates that areas high as 240 beats/min or 4 Hz. Moreover, this down-sampling enables afocus on heart rates in the lower frequencies rather than in thephysiologically irrelevant higher frequency ranges. Further details ofthis study's databases are given in Table 4, below. Four types ofactivities were involved:

-   -   Type (1): activity involved walking or running on a treadmill        for intervals of 0.5 min-1 min-1 min-1 min-1 min-0.5 min with        speeds of 1-2 km/h, 6-8 km/h, 12-15 km/h, 6-8 km/h, 12-15 km/h,        1-2 km/h, respectively. The subjects were asked to purposely        move the hand with the wristband to generate motion artifacts.    -   Type (2): activity included various forearm and upper arm        exercise which are common arm motions (e.g., shaking hands,        stretching, pushing objects, running, jumping, and push-ups).    -   Type (3): activity consisted of intensive forearm and upper arm        movements (e.g., boxing).    -   Type (4): activity involved 1 min rest, 1 min walking (3 mph), 1        min rest, 2 min jogging (5 mph), 1 min rest, 2 min running (7        mph), 1 min rest, 1 min arbitrary movement. The ECG-based        reference HR was recorded in order to assess the performance of        the methods under test.

In summary, the first dataset includes only Type (1) activities, thesecond dataset includes both Type (1) and (2) activities, and the thirddataset includes only Type (4) activities.

TABLE 4 PPG Datasets and Experiments Settings Activity Subject's SubjectDataset Type Pulse Oximeter Type Age/Sex 1 1 (IEEE Type (1) Wrist: greenLED 18-38 y 2 Cup) (wavelength: 609 nm) (All Male) 3 4 5 6 7 8 9 10 1112 13 2 (IEEE Type (2) Wrist: green LED 19-58 y 14 Cup) (wavelength: 515nm) (9 Male, 1 15 Female) 16 Type (3) 17 18 19 20 Type (2) 21 Type (3)22 23 Type (2) 24 3 (Chon Type (4) Forehead: Red and 26-55 y 25 Lab)Infrared LED (9 Male, 1 26 (wavelength: 660 nm, Female) 27 940 nm) 28 2930 31 32 33

An example embodiment for reconstructing a heart-related signal duringintensive movements is disclose by the HR monitoring method presentedbelow in Table 5. Details of each stage are described in subsections ito v.

TABLE 5 HR and PPG signal reconstruction method Stage 1. Time-VaryingSpectral analysis 1.1. Down sample the PPG and Accelerometer signal to20 Hz. 1.2. Compute the power spectral density of both PPG andAccelerometers [0-10 Hz]. Stage 2. Spectral Filtering 2.1. Assume HR tobe in the frequency range of [0.5 Hz-3 Hz], this accounts for both lowand high heart rates. 2.2. The first highest three peaks and theircorresponding frequencies in the PPG filtered spectrum are assumed tohave HR information. 2.3. Only the largest frequency peak of theaccelerometers' spectra is used for MA detection in stage 3. Stage 3.Motion Artifact Detection 3.1. Compare the frequencies of the threepeaks in the PPG spectrum with the frequency of the largest peak in theaccelerometers' spectra. If the first or second largest peaks in the PPGspectrum are similar to that of the accelerometers' peaks, then motionartifact is present in the PPG. 3.2. If motion artifact is detected from3.1, then the corresponding frequency peak (usually the first or secondlargest peak) in the PPG spectrum should be discarded. Stage 4. HeartRate Tracking and Extraction from PPG Spectrum Case (1): From 3.1- ifthe spectrum is corrupted by movement and only the first largest peak iscorrupted, then the HR frequency should be the frequency of the secondpeak in the spectrum. Case (2): From 3.1- if the spectrum is corruptedby movement and both the first and second largest peaks have similarfrequencies to those of the accelerometers' peaks, then the HR frequencyshould be the frequency of the third peak in the spectrum. Case (3): Dueto a gap between the pulse oximeter and a subject's skin, the HRfrequency cannot be extracted from the spectrum and in this case theprevious HR frequency is used or for offline implementation a cubicspline interpolation can be applied to fill in the missing HRinformation. Stage 5. PPG Signal Reconstruction 5.1. The PPG signal isreconstructed by using the amplitude, frequency and phase informationcorresponding to the HR components (extracted in stage 4) that arecalculated from the spectrum at each window. Heart Rate VariabilityAnalysis By using a sample-by-sample windowing strategy, HR can beextracted, from which dynamics of heart rate variability analysis can beobtained on the motion artifact-removed reconstructed HR time series.

I. Time-Varying Spectral Analysis of PPG and Accelerometer Data

Embodiments disclosed herein may produce a time-varying spectrum bytaking a T-sec window of the signal and computing the power spectraldensity (PSD) of the segment and then sliding the window through thewhole dataset which yields a time-frequency matrix in which each arrayrepresents the power of the signal corresponding to a specific frequencyand sliding time-step (shift) of S-sec. The sliding process andfrequency step specify the resolution and dimension of thetime-frequency matrix. According to embodiments disclosed herein, twodifferent sliding window approaches may be used, depending on theapplication. For estimating either heart rates or heart ratevariability, data may be shifted sample-by-sample with no overlap forthe entire dataset. Such an approach enables capturing beat-to-beatdynamics of HRV which requires sample-to-sample estimation of PSD. Sincesome data is down-sampled data to 20 Hz in some of the database, asdisclosed above, each data point may be shifted by 0.05 seconds. Forestimating only the heart rates, the shift may be a datasegment-by-segment shift rather than a sample-by-sample shift. Thiscoarse-grain windowing approach has less computational cost and it canprovide good tracking of heart rates, but does not apply well to HRV.

As such, according to some embodiments, a window segment length T may beset to 8 seconds and shifted by 2 seconds. The 8 second data segment anda shift of 2 seconds was chosen to compare results according toembodiments disclosed herein to other methods (TROIKA, JOSS and WFPV)which have used this chosen data segment length and time shift (Zhilin,Z., P. Zhouyue, and L. Benyuan, TROIKA: A General Framework for HeartRate Monitoring Using Wrist-Type Photoplethysmographic Signals DuringIntensive Physical Exercise. Biomedical Engineering, IEEE Transactionson, 2015. 62(2): p. 522-531; Zhang, Z., Photoplethysmography-Based HeartRate Monitoring in Physical Activities via Joint Sparse SpectrumReconstruction. Biomedical Engineering, IEEE Transactions on, 2015.PP(99): p. 1-1). Moreover, the assumption of 8 second data lengthlargely stems from the fact that heart rates do not changeinstantaneously, hence, an 8 second duration is a reasonable choice.

As a representative example, the resultant frequency components in thetime-frequency matrix of recordings from subject #8 from the competitiontraining dataset, for a window length of 8 seconds that is shifted byevery 2 seconds, is shown in FIG. 6A, disclosed below.

FIGS. 6A-6C show Time-Frequency spectra of recording #8 from dataset(1).

FIG. 6A shows the PPG signal.

FIG. 6B shows the simultaneous Accelerometer-Z signal.

FIG. 6C (Top-Left) shows the TF spectrum of the PPG signal. FIG. 6C(Top-Right) shows the TF spectrum of ACC(x). FIG. 6C (Bottom-Left) showsthe TF spectrum of ACC(y). FIG. 6C (Bottom-Right) shows the TF spectrumof ACC(z); all computed from stage (1) of Table 5. The blue circles andletters represent movement elements in all four spectra.

The panels of FIG. 6A and FIG. 6B show a PPG time series and the z-axisaccelerometer data, respectively. From the upper left panel of FIG. 6C,which represents the time-frequency plot of the PPG signal, it isobserved that there are three dominant frequency components—one of themrepresents HR and the other two are similar to those of theaccelerometers' spectra shown in the upper right and lower left andright panels of FIG. 6C. FIG. 6C illustrates 4 motion artifact elements(A, B, C, D) that are present in exactly the same areas among allspectra. By comparing the time-frequency (TF) spectrum of PPG to thoseof the accelerometers' spectra, the marked dynamics (A, B, C and D) inthe PPG spectrum can be detected as sharing the same frequency dynamicsas those of the accelerometer spectra marked in circles. Hence, both thetop and bottom marked lines in the PPG spectrum most likely representthe motion artifacts, and the unmarked frequency represents the HR. Thenext section details how these motion artifact frequency dynamics may bedetected and filtered according to embodiments disclosed herein.

II. Spectral Filtering

After obtaining the power spectral density at each window, as disclosedabove, embodiments disclosed herein may confine the HR frequency to therange [0.5 Hz-3 Hz], which takes into account both at rest and high HRdue to either tachycardia or exercise scenarios. Hence, for HRestimation, the strategy is to eliminate frequencies that are outside ofthis HR frequency range as they are most likely due to motion artifactsor harmonics of the FIR frequency.

In general, HR frequency in the power spectral density of PPG at eachwindow can have three different scenarios: (1) PPG is devoid of MA andthere is no spatial gap between the sensor and the subject's skin duringrecording, (2) PPG is corrupted by MA and there is no spatial gapbetween the sensor and the subject's skin during recording and (3) Thereis a spatial gap between the sensor and the subject's skin duringrecording. For the ideal case (1), HR can be extracted and it is mostlikely represented as the highest peak in the PPG spectrum. For case(2), MA dynamics can result in predominately either one or two dominantpeaks depending on the severity of repetitive motions, and the HR peakmay be relegated to either the second or third highest peak.Non-repetitive motion artifacts will show up as a broadband spectrumwithout a dominant peak if they are not severe (Marmarelis, V. Z., etal., Nonlinear analysis of renal autoregulation under broadband forcingconditions. Ann Biomed Eng, 1993. 21(6): p. 591-603). The only scenariothat makes it difficult to extract HR from the spectrum is scenario (3)when there is a spatial gap between the PPG sensor and the subject'sskin during recording. In this scenario, assuming that the motionartifacts are short lasting, the missing HR values can be interpolatedusing a cubic spline approach.

FIG. 7 is an example embodiment of spectral filtering. FIG. 7 shows arepresentative filtered time-frequency spectral plot of a PPG signal. Asdisclosed above, embodiments disclosed herein may retain only the threelargest frequency peaks at each time point within the defined HR range(30-180 bpm) and such retained frequency peaks are represented as blue,green and red colors, respectively. Retaining only the three largestfrequency peaks at each time point may be reasonable for the first twocases, as outlined above. In the PPG time-frequency spectrum of FIG. 7,the Blue, Green and Red circles correspond to the first three highestpeaks in the defined HR frequency range of (30-180 bpm), respectively,at each sliding window.

III. Motion Artifact Detection

FIGS. 8A-8B show motion artifact detection in the PPG spectrum accordingto embodiments disclosed herein.

FIG. 8A shows a filtered PPG spectrum with movement and HR components.FIG. 8A is an example embodiment of a PPG spectrum which is identical toFIG. 7, but it also identifies the frequencies associated withaccelerometers, as marked by the shaded areas and the letters A-D, inthe top left and two bottom panels of FIG. 6C, disclosed above. Theshaded yellow elements (A, B, C, D) of FIG. 8A represent motionfrequency components in the PPG spectrum, and the light blue line is thereference HR from a clean reference ECG signal. By removing theaccelerometers' related frequencies in FIG. 8A, the remaining frequencydynamics which should represent HR frequency and its harmonics are shownin FIG. 8B.

FIG. 8B shows a filtered PPG spectrum after removing motion artifactfrequency components.

IV. Heart Rate Tracking & Extraction

A flow diagram for heart rate tracking and extraction is disclosedabove, with reference to FIG. 3B. Embodiments disclosed herein mayidentify HR frequencies with time, such as HR frequencies from FIG. 8B.Note that in FIG. 8B, there are three peaks at each time instance (alsoreferred to interchangeably herein as a time point). Embodimentsdisclosed herein may identify which of the three peaks represents the HRat each time point. For the initial time window of 8 seconds, a cleandata segment may be used so that true HR can be determined. Thisscenario is case (1), disclosed above, in the spectral filteringsection, and the detection of HR is simply the highest peak in thespectrum. Embodiments disclosed herein may estimate FIR for each slidingwindow of data. Embodiments disclosed herein may choose a HR peak in thePPG spectrum with the knowledge of estimated HR values in previous timewindows. Two main scenarios may present: (1) no peak exists in thespectrum that can represent HR, and (2) there is a spectral peak amongthe first three highest peaks of spectrum that belongs to the HRcomponent.

In case (1), where HR is not detectable in the window (e.g., due tospatial gap between the PO sensor and skin), in real-time implementationembodiments disclosed herein may take a previous window's HR value asthe current HR (or simply use a moving average of several past HR beatsor some other variant). In post-processing, or offline processing, acubic spline interpolation may be used to fill in the missing HRinformation. In the more general case (2), where the HR peak is amongthe first three highest peaks in the spectrum, three possible scenarioscan occur: (2-A) the windowed PPG signal is clean and the first highestpeak in the spectrum represents the HR fundamental frequency, (2-B) thewindowed PPG signal is corrupted by movement and at most two of thespectral peaks represent the accelerometers' frequency components, thus,the second or the third peak corresponds to HR, (2-C) while the HRspectral peak is detectable, the difference between its value and thatof the previous HR is more than 10 bpm, as such, embodiments disclosedherein may replace the HR by the most recent HR value from a previouswindow segment (or a moving average of several past HR beats or someother variant).

According to embodiments disclosed herein, criterion may be set that theHR value cannot change more than 10 BPM from a previous time window. InFIG. 8B, these cases are illustrated. For example, in most cases, theblue circle which represents the largest spectral peak is chosen but inother cases, either green or red circles are chosen for certain timepoints. For the HR peaks associated with either the green or redcircles, embodiments disclosed herein may choose those peaks becauseeither the first two highest peaks are related to accelerometers or thehighest magnitude peak deviates more than 10 BPM from the previous HRvalue.

FIG. 9 shows a comparison of reconstructed FIR obtained, according toembodiments disclosed herein, to reference HR obtained from simultaneousECG recordings. In FIG. 9, the extracted HR (red color) from PPG spectraof recording#8 from the competition training dataset, according toembodiments disclosed herein, is shown in red color and the referenceECG-derived HR is shown in black color. In order to calculate theperformance of FIR reconstruction according to embodiments disclosedherein, the error value in each time window was calculated from theestimated FIR to the reference ECG-derived HR. Two measurement indicesof absolute error similar to the indices in (Krishnan, R., B. Natarajan,and S. Warren, Two-Stage Approach for Detection and Reduction of MotionArtifacts in Photoplethysmographic Data. Biomedical Engineering, IEEETransactions on, 2010. 57(8): p. 1867-1876) were used.

$\begin{matrix}{{{{Error}(1)} = {\frac{1}{W}{\sum\limits_{k = 1}^{w}{{{{HR}_{SpaMA}(k)} - {{HR}_{ref}(k)}}}}}}\;} & (1) \\{{{Error}(2)} = {\frac{1}{W}{\sum\limits_{k = 1}^{w}{\frac{{{{HR}_{SpaMA}(k)} - {{HR}_{ref}(k)}}}{{HR}_{ref}(k)} \times 100\%}}}} & (2)\end{matrix}$where W is the total number of windows.

v. PPG Signal Reconstruction for HRV Analysis

For an HRV analysis application, the above-disclosed embodiments areidentical except that the beat-by-beat shift is of data rather than the8 second data segment shift or its variant. According to embodimentsdisclosed herein, the PPG signal may be reconstructed using heart ratefrequency, amplitude and phase changes, window-by-window using thesample-by-sample windowing process:Rec _(signal) =A _(HR)(k)×sin(2πt(k)f _(HR)(k)+φ_(HR)(k))  (3)where k=1, . . . , N and N is number of signal samples and total numberof windows. A_(HR)(k) and φ_(HR)(k) are calculated according to thepower of the signal for HR frequencies in the PSD and phase angles ofcomplex elements in a Fast Fourier Transform (FFT) matrix thatcorrespond to HR frequencies.

FIG. 10A is an example embodiment of PPG signal reconstruction accordingto embodiments disclosed herein. FIG. 10A shows a comparison betweenreconstructed PPG and original recording #8 from IEEE competitiontraining dataset. The left and right panels of FIGS. 10A-B show thereconstructed PPG versus the original PPG and their HRV time series,respectively.

FIG. 10B is a zoomed-in version of FIG. 10A.

Given that embodiments disclosed herein estimate quite accurate heartrates, it is not surprising to observe similar frequency dynamicsbetween the reference and reconstructed HRV time series, as shown inFIGS. HA-B.

FIGS. 11A-B show comparisons of HRV spectra between the reference andthe reconstructed HRV time series (e.g., as shown in FIGS. 10A-B) fromthe MA-contaminated PPG signal for dataset #8. Note that for computingHRV, matching the amplitude of the reference HR is not a concern, as thefocus is only in the dynamics of the fluctuations in the heart rates.

FIG. 11A shows a time-domain comparison of a reconstructed HR and areference HR.

FIG. 11B shows a spectral comparison of heart rate variability betweenreconstructed HR and reference HR calculated from the reference ECGusing Pan & Tompkins peak detection approach (Pan J, T. W A real-timeQRS detection algorithm. IEEE Trans Biomed Eng, 1985. 32(3): p.230-236).

Results

FIG. 11C is a “SpaMA Method Performance Comparison” table, Table 6, alsoreferred to interchangeably herein as Table 6. Table 6 represents theaverage absolute error (E1) and the average absolute error percentage(E2) of embodiments disclosed herein as applied to all 3 datasets,respectively. Embodiments disclosed herein are compared to threemethods: TROIKA, JOSS and WFPV. The results in Table 6 show that betterperformance from embodiments disclosed herein as compared to JOSS andTROIKA for all 12 subjects in the first datasets. In comparison to WFPV,embodiments disclosed herein outperform WFPV on average across all 23subjects in both datasets (1) and (2). The total average of E1 forembodiments disclosed herein is less than 2 beats per minutes for all 33subjects. The average of E1 across the treadmill experiment recordings(activity Type 1—IEEE dataset and Type 4—Chon Lab dataset) is around 1beat per minute for all 22 subjects.

FIGS. 12A, 12B, 13A, 13B, 14A, and 14B show the reconstructed HR andcorresponding PSD of a sample-sample windowed HR, according toembodiments disclosed herein, in comparison to a reference HR from anECG. The results for recording #9 from the first dataset (IEEECompetition Training dataset) and activity Type 1 (e.g., running ontreadmill) are shown in FIGS. 13A-B. As shown, E1 for this particularsubject is as low as 0.4 bpm and the correlation between the PSD ofreconstructed HR and reference HR is as high as 96%.

FIG. 12A shows a reconstructed HR vs. reference HR. FIG. 12B shows aspectral comparison of reconstructed HR and reference HR (estimated fromreference ECG).

FIG. 13A illustrates the comparison between the reconstructed HR and thereference HR for Subject #14 (IEEE Competition Test Dataset) which hasthe highest errors. Subject #14 belongs to the second dataset (IEEECompetition Test dataset) and Type 2 activities (e.g. jumping). It canbe seen that the largest error is obtained when both the physiologicalHR and the motion artifacts change rapidly so that the true HR cannot bereliably estimated.

FIG. 13B shows a reconstructed HR vs. reference HR for Subject 16 (IEEECompetition Test Dataset). FIG. 13B shows the comparison results ofreconstructed HR and reference HR for recording #16 of the seconddataset (IEEE Competition Test dataset) which has the Type 3 activities(e.g., arm exercise).

FIG. 14A shows a reconstructed HR vs. reference HR for Subject #30 (ChonLab Dataset). FIG. 14B shows a spectral comparison of reconstructed HRand reference HR (estimated from reference ECG). The results forrecording #30 from the third datasets (Chon Lab datasets) and activityType 4 (e.g., running on treadmill) are shown in FIGS. 14A-B. It can beseen that the E1 for this subject is around 0.6 bpm and the correlationbetween the PSD of reconstructed HR and reference HR is as high as 99%for LF and 0.96 for HF frequency range. All subjects' results areprovided in Table 7, disclosed below.

Table 7 represents the correlation and statistical difference using thestudent's t-test between PSD of estimated and reference HRV in both LF(0.04-0.15 Hz) and HF (0.15-0.4 Hz) frequency ranges. The correlationvalues in the table are calculated based on Pearson's linear correlationcoefficient. As shown in Table 7, there was no difference between thereference and the derived HRV for LF, according to embodiments disclosedherein, and a difference was seen in only 4 out of 10 subjects for HF.

TABLE 7 Frequency Domain HRV analysis Comparison: PSD of SpaMA Methodvs. reference Correlation LF (LF is [0.04-0.15] Hz and HF is Subjects[0.15-0.4] Hz) HF 1 0.99 0.98 2 0.99 0.96 3 0.99 0.95* 4 1.00 0.99 51.00 0.99 6 0.99 0.96* 7 0.98 0.92* 8 0.97 0.90* 9 1.00 0.99 10 1.000.99 mean 0.99 0.96 *indicates significantly different (P-value > 0.05)

Table 8 shows some of the widely-reported time-domain HRV parameterssuch as the mean HR, standard-deviation (SDNN) of the normal-to-normal(NN) interval, root-mean-square of successive difference (RMSSD) of theNN interval, and the number of interval differences of successive NNintervals greater than 50 ms divided by the total number of NN intervals(pNN50) estimated from embodiments disclosed herein in comparison to thereference ECG NN interval. None of these parameters were found to besignificantly different between those derived according to embodimentsdisclosed herein and the reference HRV.

TABLE 8 Time Domain HRV analysis Comparison: SpaMA Method vs. referenceHRV SDNN meanNN RMSSD pNN50 Subjects SpaMA Reference SpaMA ReferenceSpaMA Reference SpaMA Reference 1 2620.75 2566.47 10481.89 10480.7233.24 18.05 0.001 0.020 2 2115.44 2079.58 9908.00 10020.00 25.93 16.320.011 0.019 3 3173.73 3177.68 10764.20 10829.06 89.70 56.15 0.019 0.2074 2517.78 2533.20 10376.95 10426.26 13.54 19.58 0.001 0.030 5 2654.422670.32 10846.04 10990.08 11.88 18.59 0.003 0.018 6 2012.53 1974.659737.35 9827.63 39.64 21.17 0.004 0.025 7 3056.36 2925.19 12519.7413134.05 27.66 30.61 0.015 0.071 8 3133.76 2756.66 10504.00 10530.0032.57 36.38 0.002 0.003 9 2195.08 2142.53 10499.81 10470.06 8.23 13.010.002 0.004 10  2454.57 2406.96 12936.62 12981.21 41.52 20.28 0.0060.024 p-value >0.05 >0.05 >0.05 >0.05

As such, the SpaMA method, according to embodiments disclosed herein,that may be based on time-varying spectral analysis of the PPG signaladdresses Heart Rate monitoring in the real world with challengesranging from a subject who makes sudden movements but is otherwisesedate, to intensive physical activities. Embodiments disclosed hereincompare spectral changes in PPG and accelerometer signals. As disclosedabove, three different datasets have been used to verify the SpaMAperformance. Each dataset reflects different types of activities andmovements. In all of the experiments, the reference HR was calculatedfrom an ECG signal that was collected simultaneously with the PPGsignal. The estimated HR was calculated from the spectrum of PPG in 8second time windows. Based on the results, disclosed above, the SpaMAmethod may be used for tracking HR changes during severe motionartifacts with an average error of just 1.86 bpm compared to that of thereference ECG; these results are superior to three other methods tested:TROIKA, JOSS and WFPV (Zhilin, Z., P. Zhouyue, and L. Benyuan, TROIKA: AGeneral Framework for Heart Rate Monitoring Using Wrist-TypePhotoplethysmographic Signals During Intensive Physical Exercise.Biomedical Engineering, IEEE Transactions on, 2015. 62(2): p. 522-531;Zhang, Z., Photoplethysmography-Based Heart Rate Monitoring in PhysicalActivities via Joint Sparse Spectrum Reconstruction. BiomedicalEngineering, IEEE Transactions on, 2015. PP(99): p. 1-1).

Out of 33 recordings, 23 are from a wrist pulse oximeter, and the restof the data were recorded by a forehead pulse oximeter. The results fromTable 8, disclosed above, show that the SpaMA method can be applied tomonitor HR from both wrist and forehead pulse oximeters. By comparingthe performance of the method for treadmill experiments (dataset 1 anddataset 3), the error is lower by almost 1 beat using a wrist pulseoximeter. However, it should be noted that from this result a conclusionthat the wrist PPG provides less error than the forehead should not bedrawn, as the experiments used different subjects and were two separatestudies. The prior methods (TROIKA, JOSS and WFPV) were tested usingonly on the wrist-based PPG signals as the implementers of those methodsdid not have access to forehead PPG sensors. The SpaMA method, accordingto embodiment disclosed herein, was tested on data from both PPG sensorlocations, and proved to be effective regardless of the location of thePPG sensor.

Several observations were made while analyzing the data, disclosedabove. The tracking ability of the SpaMA method decreased as thefrequency changes during recordings increased. This phenomenon mostlywas observed while dealing with the second set of datasets from the IEEEcompetition, which involved Type (2) and Type (3) activities. Thesetypes of exercises involved more abrupt movements which consequentlymade it more difficult to track the HR-related frequencies in thespectrum. In the three datasets that have been analyzed, recordings #10and 14 are examples of this phenomenon.

A strength of the PPG's LED is one of the most important factorsdetermining the SpaMA method performance. Movement induces much lessspectrum corruption (shift) in the PPG if the LED is sufficientlystrong. A reduction in the strength of the PPG signal can also be causedby ambient light leaking into the gap between a PPG sensor and the skinsurface (Zhang, Z., Photoplethysmography-Based Heart Rate Monitoring inPhysical Activities via Joint Sparse Spectrum Reconstruction. BiomedicalEngineering, IEEE Transactions on, 2015. PP(99): p. 1-1). This isbecause the power of the signal is dependent on the depth and reflectionof the light from the pulse oximeter to the subject's skin. This gapbetween skin and the planar substrate where the LEDs and PD are mountedmay be the result of movement during physical activities or the shape oftissue that the sensors touch. Among the three datasets, low performancefor recordings #16 and 31 is the result of a weak PPG signal most likelydue to a gap between the sensor and skin caused by motion artifacts.

By using the sample-by-sample windowing process, SpaMA, according toembodiments disclosed herein, can be utilized for both Heart Ratemonitoring and HRV analysis in both frequency- and time-domains. Fromthe results, disclosed above, it can be observed that embodimentsdisclosed here are able to replicate both the low frequency (0.04-0.15Hz) and the high frequency (0.15-0.4) dynamics well, albeit better theformer than the latter, when compared to a reference HRV. Fortime-domain HRV measures, the mean HR, SDNN, RMSSD, and pNN50 based onembodiments disclosed herein were all found to be not significantlydifferent than the reference HRV. It has long been shown that duringdynamic exercise, heart rate increases due to both a parasympatheticwithdrawal and an augmented sympathetic activity (Iellamo, F., Neuralmechanisms of cardiovascular regulation during exercise. Auton Neurosci,2001. 90(1-2): p. 66-75; Bernardi, L. and M. F. Piepoli, [Autonomicnervous system adaptation during physical exercise]. Ital Heart J Suppl,2001. 2(8): p. 831-9). The relative role of the two drives depends onthe exercise intensity (Perini, R., et al., The influence of exerciseintensity on the power spectrum of heart rate variability. Eur J ApplPhysiol Occup Physiol, 1990. 61(1-2): p. 143-8; Sarmiento, S., et al.,Heart rate variability during high-intensity exercise. Journal ofSystems Science and Complexity, 2013. 26(1): p. 104-116; Roure, R., etal., Autonomic nervous system responses correlate with mental rehearsalin volleyball training. Eur J Appl Physiol Occup Physiol, 1998. 78(2):p. 99-108). Analysis of HRV permits insight into this control mechanism(Aubert, A. E., B. Seps, and F. Beckers, Heart rate variability inathletes. Sports Med, 2003. 33(12): p. 889-919). Also, being able to doHRV analysis from PPG even during movement and physical activities wouldbe an advantage for detecting and diagnosing many cardiovasculardiseases using only PPG recordings.

The SpaMA method, according to embodiments disclosed herein, can bepotentially implemented in real time. The method written in Matlab®,version R2014 and CPU 3.4 GHz takes only 110 msec per 8 second segments.Therefore, given the high accuracy of the method in estimating HRdespite severe motion artifacts, the SpaMA method, according toembodiments disclosed herein, has the potential to be applicable forimplementation on wearable devices such as smart watches and PPG-basedfitness sensors.

As disclosed above, accurate estimation of changing arterial oxygensaturation (SpO2) from photoplethysmogram (PPG) signals during movementis a very challenging problem. This is because strenuous and highintensity movements can result in severe motion artifacts (MA), makingaccurate SpO2 estimation from PPG signals difficult. As such, embodimentdisclosed herein may applied the methods for reconstructing a PPGsignal, as disclosed above, and include an additional stage of SpO2estimation.

According to one embodiment, OxiMA may be comprised of the 6 stagesdisclosed above, with reference to FIGS. 3A-F, and include Stage 7, thatis SpO2 Estimation.

According to another embodiment, OxiMA may be comprised of 6 stages: (1)Time-frequency Spectral Analysis, (2) Signal Decomposition, (3) SpectralFiltering, (4) Heart Rate (HR) extraction and tracking, (5) SignalReconstruction, (6) SpO2 Estimation.

OxiMA

According to some embodiments, OxiMA may decompose the PPG signal intoits frequency components by using a complex demodulation-based techniqueand may choose the components with frequencies close to the HR frequencyfor reconstructing the clean PPG signal. Next, SpO2 may be estimatedfrom the reconstructed PPG signal. Such a method is applied to 22 minutedatasets recorded from 10 subjects. A Nellcor OxiMax transmission sensorwas used to collect analog PPG signals, while reference SpO2 and HR werecollected simultaneously from the FDA approved Masimo SET Radical RDS-1pulse oximeter. The performance of the OxiMA method according toembodiments disclosed herein, was determined by computing the meanabsolute error between the estimated HR/SpO2 from the PPG and referenceHR [Masimo]/SpO2[Masimo] oximeter. The results show the averageestimation error using OxiMA are only 2.4 beats/minute for HR and 1.8%for SpO2, respectively. As such, the OxiMA method has great potentialfor MA reduction for both SpO2 and HR monitoring.

Vital signs and clinical symptoms have been shown to be poor predictorsof hypoxia, and in order to rationalize oxygen therapy, measurement ofarterial oxygen saturation by pulse oximetry is being increasinglyrecommended (Laman, M., et al., Can clinical signs predict hypoxaemia inPapua New Guinean children with moderate and severe pneumonia? Ann TropPaediatr, 2005. 25(1): p. 23-7) Arterial oxygen saturation (SpO2)reflects the relative amount of oxyhemoglobin in the arterial blood. Themost common method to measure SpO2 is based on pulse oximetry, wherebyoxidized hemoglobin and reduced hemoglobin have significantly differentoptical spectra.

Specifically, at a red wavelength of about 660 nm, there is asignificant difference in light absorbance between reduced (Hb) andoxidized hemoglobin (HbO2). A measurement of the percent oxygensaturation of blood is defined as the ratio of oxyhemoglobin to thetotal concentration of hemoglobin present in the blood. Pulse oximetryassumes that the fluctuations of the PPG signal are caused by changes inarterial blood volume associated with each heartbeat, where themagnitude of the fluctuations depends on the amount of arterial bloodrushing into the peripheral vascular bed, the optical absorption of theblood, skin and tissue, and the wavelengths used to illuminate theblood. The photoplethysmogram (PPG) can be used to derive not only theSpO2 and heart rate (HR) data, but also other vital physiologicalinformation (Laman, M., et al., Can clinical signs predict hypoxaemia inPapua New Guinean children with moderate and severe pneumonia? Ann TropPaediatr, 2005. 25(1): p. 23-7; Salehizadeh, S. M. A., et al.,Photoplethysmograph Signal Reconstruction based on a Novel MotionArtifact Detection-Reduction Approach. Part Motion and Noise ArtifactRemoval. Annals of Biomedical Engineering, 2014. 42(11): p. 2251-2263;Tamisier, R., et al., A new model of chronic intermittent hypoxia inhumans: effect on ventilation, sleep, and blood pressure. J Appl Physiol(1985), 2009. 107(1): p. 17-24; Jubran, A., Pulse oximetry. Crit Care,1999. 3(2): p. R11-r17). As disclosed above, utilizing a pulse oximeteras a multi-purpose vital sign monitor has clinical appeal, since it isfamiliar to clinicians and comfortable for the patient (Salehizadeh, S.M. A., et al., Photoplethysmograph Signal Reconstruction based on aNovel Motion Artifact Detection-Reduction Approach. Part Motion andNoise Artifact Removal. Annals of Biomedical Engineering, 2014. 42(11):p. 2251-2263).

In healthy persons, SpO2 is typically near 98%. A lower readingindicates a level of hypoxia. SpO2 readings below 95% are usually acause for concern, indicating the need for supplemental oxygen therapy.In certain individuals, such as those with chronic respiratory orcardiac diseases, SpO2 readings below 95% may be considered normal.However, in general, SpO2 readings between 90%-95% represent mildhypoxia, while 85%-90% indicates serious hypoxia, and readings below 85%are considered critical hypoxia (Tamisier, R., et al., A new model ofchronic intermittent hypoxia in humans: effect on ventilation, sleep,and blood pressure. J Appl Physiol (1985), 2009. 107(1): p. 17-24).

As disclosed below, the OxiMA method according to embodiments disclosedherein, provides HR reconstruction with accurate SpO2 estimation evenduring movement. The most recent methods as noted above (e.g., TROIKAand JOSS) do not show their ability to obtain SpO2 estimates as theywere mainly designed for HR calculations in the presence of intensemotion artifacts.

The OxiMA method was evaluated on a lab controlled dataset that wasrecorded during voluntary induced hypoxia. In an IRB approved studywhich recruited 10 subjects, one set of data was collected from eachsubject for a duration of 22 min. Reference arterial SpO2 and HR werecollected from the FDA approved Masimo SET Radical RDS-1 pulse oximeter(mounted on the left hand), while a Nelicor OxiMax sensor (mounted onthe right hand) was used to collect analog PPG signals, simultaneously,as shown in Table 9 of FIG. 14C, disclosed below.

FIG. 14C is a table, Table 9, that includes PPG datasets and experimentssettings. Each subject sat in a chair and was asked to re-breathe into a1-gallon bag four times for approximately two minutes each time. Duringthe first and third time the subject rebreathed into the bag, subjectswere asked to remain still. During the second and fourth time thesubject rebreathed into the bag, subjects were asked to introduce motionartifacts into the measurement by shaking their right hand. Each subjectwore a disposable nose clip to prevent accidental breathing of room air.The Masimo reference sensor placed in the left hand remained motionlessfor the entire duration of the study. Subjects had at least two minutesof rest between successive breathing maneuvers, with more time ifrequested. The protocol for this experiment is presented in Table 10.Worcester Polytechnic Institute IRB approved the study protocol andinformed consent was required by all subjects prior to data recording.

This sequence of data recording allowed us to test the efficacy of theOxiMA method while a subject experienced different levels of shortlasting hypoxia during motion artifacts. For reference, other clinicalstudies showed that SpO2 levels in patients suffering from mild tomoderate sleep apnea can drop to about 80% for short periods of timeuntil the patient is awakened without irreversible physiological effects(Maeda, Y., M. Sekine, and T. Tamura, Relationship between measurementsite and motion artifacts in wearable reflected photoplethysmography. JMed Syst, 2011. 35(5): p. 969-76).

Methodology

The protocol for testing performance of the OxiMA method is presented inTable 10.

TABLE 10 EXPERIMENT PROTOCOL End Time (min) Event 2 Rest (baseline) 4Bag breathing (motion) 5 Rest (oxygen recovery) 7 Rest 9 Bag breathing(motion) 10 Rest (oxygen recovery) 12 Rest 14 Bag breathing (no motion)15 Rest (oxygen recovery) 17 Rest 19 Bag breathing (motion) 20 Rest(oxygen recovery) 22 Rest

Details of each stage of the OxiMA method as applied in the experimentare disclosed below.

Time-Varying Spectral Analysis of PPG and Accelerometer Data

To compute the time-frequency spectrum, a variable frequency complexdemodulation technique was employed. Table 11, disclosed below, presentsthe OxiMA method, according to one embodiment.

The time-varying spectrum is estimated by taking a T-sec window of thePPG signal and computing the VFCDM time-frequency of the segment andthen sliding the window through the whole dataset. There is nooverlapping between the sliding time windows. The window segment lengthT was set to 8 seconds and was shifted by 8 seconds. The assumption of 8second data length largely stems from the fact that SpO2 and heart ratesdo not change instantaneously; hence, an 8 second duration is areasonable choice.

TABLE 11 OXIMA METHOD: HR AND SPO2 RECONSTRUCTION Stage 1. VFCDMTime-Frequency Spectrum 1.1. Downsample the PPG signal to ¼ of theoriginal sampling frequency. 1.2. Compute the VFCDM based time-frequencyspectrum (TFS) Stage 2. Signal Decomposition 2.1. Decompose the PPGsignal into its frequency components according to frequency bands in theTFS Stage 3. Spectral Filtering 3.1. Assume HR to be in the frequencyrange of [0.5 Hz-3 Hz], to account for both low and high HR values. 3.2.The first highest two peaks and their corresponding frequencies in thePPG filtered spectrum are assumed to have HR information. Stage 4. HeartRate Tracking and Extraction from PPG Spectrum Case (1): From 3.1-if thespectrum is corrupted by movement and only the first largest peak iscorrupted, then the HR frequency should be the frequency of the secondpeak in the spectrum. Case (2): Due to the sensor-skin interfaceinterruption, which could be a result of gap between the pulse oximeterand a subject's skin or slight sensor alignment variations relative toskin, the HR frequency cannot be extracted from the spectrum and in thiscase the previous HR frequency is used or for offline implementation acubic spline interpolation can be applied to fill in the missing HRinformation. Stage 5. PPG Signal Reconstruction 5.1. The PPG signal isreconstructed by using the summation of VFCDM components with frequencyclose to the HR frequency at each window. Stage 6. Oxygen SaturationEstimation 6.1. Calculate the SpO2 estimations from reconstructedinfrared and red PPG signals using the following empirical calibrationequation [2] $\begin{matrix}{{{SpO}_{2}(\%)} = \left( {110 - {25\; R}} \right)} \\{{where},} \\{R = \frac{{AC}_{Red}/{DC}_{Red}}{{AC}_{IR}/{DC}_{IR}}}\end{matrix}\quad$

FIGS. 15A-B show the resultant VFCDM time-frequency spectrum ofrecordings from subject #5, as a representative example.

The panels in FIGS. 15A-B show infrared PPG time series data. FIG. 15Brepresents the time-frequency plot of the infrared PPG signal. The nextsection details how the PPG data is decomposed into its frequencycomponents using VFCDM.

Signal Decomposition

The original PPG signal was decomposed into sinusoidal modulations usinga VFCDM method, as disclosed in Table 12 below.

$\begin{matrix}{{x(t)} = {{\sum\limits_{i = 1}^{N}{{Component}\left\{ i \right\}}} = {\sum\limits_{i = 1}^{N}{{{dc}_{i}(t)}{A_{i}(t)}{\cos\left( {{2\pi\;{f_{i}(t)}} + {\phi_{i}(t)}} \right)}}}}} & (4)\end{matrix}$

By assuming N=12 fixed frequency bands each with a distinct centralfrequency, the PPG and accelerometer signals may be decomposed using theVFCDM method of Table 12 which yields 12 components.

TABLE 12 VFCDM METHOD Consider a sinusoidal signal x(t) to be a narrowband oscillation with a time-varying center frequency f(τ),instantaneous amplitude A(t), phase ϕ(t), and the direct currentcomponent dc(t): x(t) = dc(t) + A(t)cos (∫₀^(t)2 π f(τ)dt + ϕ(t))  Step(1) For a given center frequency, we can extract the instantaneousamplitude information A(t) and phase information ϕ(t) by multiplying (1)by  e^(−j∫₀^(t)2 π f(τ) dτ)  which  results  in  the  following:$\begin{matrix}{{z(t)} = {{x(t)}e^{{{- j}{\int_{0}^{t}{2\;\pi\;{f{(\tau)}}d\;\tau}}}\ }}} \\{= {{{{dc}(t)}e^{{- j}{\int_{0}^{t}{2\;\pi\;{f{(\tau)}}d\;\tau}}}} + {\frac{A(t)}{2}e^{j\;{\phi{(t)}}}} + {\frac{A(t)}{2}e^{- {j{({{\int_{0}^{t}{4\;\pi\;{f{(\tau)}}d\;\tau}} + {\phi{(t)}}})}}}}}}\end{matrix}\quad$ Step (2) From (2), if z(t) is filtered with an ideallow-pass filter (LPF) with a cutoff frequency f_(c) < f₀, where f₀ isthe center frequency of interest. Then the filtered signal z_(lp)(t)will contain only the component of interest${z_{lp}(t)} = {\frac{A(t)}{2}{e^{j\;{\phi{(t)}}}.}}$ Step (3) Bychanging the center frequency followed by using the variable frequencyapproach as well as the LPF, the signal, x(t), will be decomposed intothe sinusoid modulations, d_(i), by the CDM technique as follows:${x(t)} = {{\sum\limits_{i}^{\;}\; d_{i}} = {{{dc}(t)} + {\sum\limits_{i}^{\;}\;{{A_{i}(t)}{\cos\left( {{\int_{0}^{t}{2\;\pi\;{f_{i}(\tau)}\ d\;\tau}} + {\phi_{i}(t)}} \right)}}}}}$Step (4) The instantaneous frequency and amplitude of d_(i) can becalculated using the Hilbert transform $\begin{matrix}{{A(t)} = {{2{{z_{ip}(t)}}} = \left\lbrack {{X^{2}(t)} + {Y^{2}(t)}} \right\rbrack^{1/2}}} \\{{X(t)} = {{real}\left( {z_{ip}(t)} \right)}} \\{\begin{matrix}{{Y(t)} = {{imag}\left( {z_{ip}(t)} \right)}} \\{= {H\left\lbrack {X(t)} \right\rbrack}} \\{= {\frac{1}{\pi}{\int{\frac{X\left( t^{\prime} \right)}{t - t^{\prime}}d\; t^{\prime}}}}}\end{matrix}\quad}\end{matrix}\quad$

FIG. 16 shows the twelve components corresponding to the IR and Redsignal for subject #5. Among the twelve frequency bands, bands 1 to 5correspond to frequency range of [0.5 Hz to 3 Hz], which is typicallythe HR frequency range accounting for both normal and elevated heartrates. Embodiments disclosed herein select a component of these 5components to reconstruct the signal that preserves the HR and is lesscorrupted by the motion artifacts. For the selection, an accurate HR maybe estimated by selecting the components that match closest to theactual HR frequency in order to reconstruct a less noisy PPG signal thanthe original motion corrupted data.

Spectral Filtering

After obtaining the power spectral density at each window, HR frequencymay be assumed to be confined in the range [0.5 Hz-3 Hz], which takesinto account both at rest and high HR values due to either tachycardiaor exercise scenarios. Next, for HR estimation, the strategy is to keeponly frequencies that correspond to the first and second peak at eachcolumn of time-frequency matrix, as disclosed above, with reference toFIG. 3B.

In general, HR frequency in the VFCDM based power spectral density ofthe PPG at each window can have three different scenarios: (1) PPG isdevoid of MA and there is no sensor-skin interface problems like aspatial gap between the sensor and the subject's skin during recording,(2) PPG is corrupted by MA and there is no spatial gap between thesensor and the subject's skin during recording and (3) There is aspatial gap between the sensor and the subject's skin during recording.For the ideal case (1), FIR can be extracted and it is most likelyrepresented as the highest peak in the PPG spectrum. For case (2), MAdynamics can result in the dominant peak and HR frequency peak'smagnitude become smaller than the MA frequency peak in the spectrum. Theonly scenario that makes it difficult to extract HR from the spectrum isscenario (3) when there is a spatial gap between the PPG sensor and thesubject's skin during recording. In this scenario, assuming that themotion artifacts are short lasting, the missing HR values can beinterpolated using the cubic spline approach.

FIGS. 17A-C are plots of the above three scenarios. In FIG. 17A and FIG.17B, the true HR frequency is close to the first and second peakrespectively, while in FIG. 17C, the true HR frequency is far from thedominant peaks in the spectrum. As long as the PPG data is clean, anassumption may be made that the HR frequency belongs to the frequencycomponent with the highest power (peak) at the each column of the TFSmatrix. On the other hand, when the data becomes corrupted by MA, itmight shift the HR frequency to the next highest peak in the spectrum ormight lose the dominant HR frequency.

Embodiments disclosed herein employ a TFS filtering step to search for Nfirst highest spectral peaks and their associated frequencies in eachcolumn of the TFS. Hence, the original TFS of FIG. 15B can be filteredto select only N, for example, 2, in the example embodiments, highestspectral peaks.

FIG. 18A shows a representative filtered time-frequency spectral plot ofPPG recording from subject #5. This portion of the OxiMA method involvesretaining only the two largest frequency peaks at each time point withinthe defined HR range (30-180 bpm) and they are represented as blue andgreen traces, respectively.

Heart Rate Tracking and Extraction

After filtering the TFS, the HR may be extracted. The HR tracking methodmay be summarized as: Assume there is only knowledge of the initial HR,the HR at each window is extracted by comparing the peaks to theprevious HR value.

As disclosed above with reference to FIG. 3B, if the largest peak iswithin the 10 bpm range from the previous value of HR, it is chosen; ifnot, the second largest peak is checked for compliance of this scenario.If the HR value deviates by more than 10 bpm, the HR from the previouswindow may be adopted by the method.

FIG. 18B illustrates the tracking of HR based on OxiMA method, disclosedabove.

FIGS. 19A and 19B represent comparisons, of the estimated 8 secondmoving averaged HR from the OxiMA method, to the reference HR, and theHR calculated from the motion-corrupted PPG signal, compared to thereference HR from the ECG, respectively. In order to calculate theperformance of the OxiMA method for HR reconstruction, the error valuein each time window was calculated from the estimated HR to thereference ECG-derived HR. Two measurement indices of absolute andnormalized errors similar to the indices in (Wang, H., et al., A highresolution approach to estimating time-frequency spectra and theiramplitudes. Ann Biomed Eng, 2006. 34(2): p. 326-3) were used.

$\begin{matrix}{{{Error}(1)} = {\frac{1}{W}{\sum\limits_{k = 1}^{w}{{{{HR}_{OxiMA}(k)} - {{HR}_{ref}(k)}}}}}} & (5) \\{{{Error}(2)} = {\frac{1}{W}{\sum\limits_{k = 1}^{w}{\frac{{{{HR}_{OxiMA}(k)} - {{HR}_{ref}(k)}}}{{HR}_{OxiMA}(k)} \times 100\%}}}} & (6)\end{matrix}$

where, W is the total number of windows.

PPG Signal Reconstruction

Now that HR values at each time window are estimated from thetime-frequency spectrum, the signal reconstruction phase of the OxiMAmethod may be performed. An assumption may be made that the signalcomponents corresponding to the HR frequency are more robust againstmotion and, thus, a less corrupted signal can be reconstructed using thesummation of these components.

By calculating the components from the Signal Decomposition, using Eq(4) and the time-frequency spectrum of the PPG, at each 8-sec window asignal component may be chosen that has a frequency close to estimatedHR frequency and that component may be employed to reconstruct infraredand red PPG data at each window. This yields a less motion-corrupteddata that can be used for oxygen saturation estimation, as disclosed inFIG. 20A and FIG. 20B.

Oxygen Saturation Estimation

In order to calculate SpO2 from PPG signals, red and infrared PPGsignals with clearly separable DC and AC components are required. Letthe pulsatile components of the red and infrared PPG signals be denotedas AC_(Red) and AC_(IR), respectively, then the “ratio-of-ratio” R isestimated (Thakor, N. V. and Y. S. Zhu, Applications of adaptivefiltering to ECG analysis: noise cancellation and arrhythmia detection.IEEE Trans Biomed Eng, 1991. 38(8): p. 785-94; Diniz, P., Adaptivefiltering: algorithms and practical implementation. 2008: SpringerScience, Business Media L.L.C) as

$\begin{matrix}{R = \frac{{AC}_{Red}/{DC}_{Red}}{{AC}_{IR}/{DC}_{IR}}} & (7)\end{matrix}$

Accordingly, SpO2 may be computed by substituting the R value in anempirical linear approximated relation given by SpO₂(%)=(110-25R).

FIG. 20C represents the reconstructed SpO2 values obtained from OxiMA incomparison to the reference SpO2 values and the estimated values beforereconstruction.

OxiMA Results

Table 13 represents the average absolute error (E1) and the averageabsolute error percentage (E2) of HR and SpO2 estimations of the OxiMAmethod on the varying hypoxia level dataset.

TABLE 13 OXIMA METHOD PERFORMANCE COMPARISON (HR ESTIMATIONS) Actual HRestimation error OxiMA HR estimation error Subject E1 E2% E1 E2% 1 3.844.83 1.53 2.10 2 6.84 9.57 2.72 3.97 3 8.15 9.59 1.69 2.29 4 4.55 5.392.61 3.18 5 10.53 11.96 4.04 4.60 6 4.46 5.52 2.04 2.66 7 12.41 19.652.81 4.37 8 3.84 4.35 2.10 2.46 9 3.80 4.13 2.57 2.83 10 3.65 4.20 1.852.41 mean ± std 6.20 ± 3.2 7.91 ± 5.0 2.40 ± 0.73 3.09 ± 0.90

The OxiMA method is compared to the HR and SpO2 estimations prior to thereconstruction method, where both pre- and post-reconstructionestimations are compared to the reference FIR and reference SpO2 valuesobtained from the Masimo pulse oximeter.

The results presented in Table 13 show that OxiMA on average improvesthe HR and SpO2 estimations by 100% and 105%, respectively when comparedto those estimations without the reconstruction method. Improvementrates are calculated as follow:

$\begin{matrix}{{{ImRate}\; 1(\%)} = {\frac{1}{W}{\sum\limits_{k = 1}^{w}{\frac{{{{Error}\; 1_{OxiMA}(k)} - {{Error}\; 1_{Act}(k)}}}{{Error}\; 1_{OxiMA}(k)} \times 100\%}}}} & (8) \\{{{ImRate}\; 2(\%)} = {\frac{1}{W}{\sum\limits_{k = 1}^{w}{\frac{{{{Error}\; 2_{OxiMA}(k)} - {{Error}\; 2_{Act}(k)}}}{{Error}\; 2_{OxiMA}(k)} \times 100\%}}}} & (9)\end{matrix}$

FIGS. 21A-C and FIGS. 22A-B show the reconstructed SpO2 and HR incomparison to the reference HR from ECG recordings for subject #5. Thelargest error among all recordings was found to be from this recording,as shown in Tables 13 and 14. The larger error could be due to rapidmovements or skin-sensor gap during the recordings.

TABLE 14 OXIMA METHOD PERFORMANCE COMPARISON (SPO₂ ESTIMATIONS) ActualSpO₂ estimation OxiMA SpO₂ estimation error error Subject E1 E2% E1 E2%1 2.51 2.63 0.86 0.90 2 7.14 9.63 2.45 3.10 3 6.21 6.59 1.61 1.67 4 1.892.46 0.95 1.16 5 7.13 7.80 3.25 3.47 6 2.85 2.99 1.10 1.14 7 5.83 9.092.57 4.52 8 3.51 4.63 1.73 2.22 9 1.81 2.10 1.50 1.61 10 4.85 5.91 1.932.07 mean ± std 4.37 ± 2.1 5.38 ± 2.8 1.79 ± 0.8 2.19 ± 1.2

As such, the E1 (HR) for this particular subject is as low as 4.05 bpmwhile the E1 (SpO2) is as low as 3.25%. It can be seen from Table 15,disclosed below, that HR and SpO2 both improved by 160% and 119%,respectively, post reconstruction method.

TABLE 15 OXIMA METHOD PERFORMANCE COMPARISON (SPO₂ ESTIMATIONS) HR SpO₂Improvement Rate Improvement Rate Subject ImRate1% ImRate2% ImRate1%ImRate2% 1 150.90 130.00 191.86 192.22 2 151.47 141.05 191.43 210.64 3323.08 318.78 285.71 294.61 4 74.33 69.50 98.95 112.07 5 160.17 160.66119.38 124.78 6 118.63 107.52 159.09 162.28 7 377.22 372.54 126.85101.10 8 82.86 76.83 102.89 108.55 9 47.86 45.94 20.67 30.43 10 97.3074.27 151.30 185.5 mean ± 158.38± 149.71± 144.81± 152.2±

V. Conclusions

As such, the OxiMA method that may be based on time-varying spectralanalysis of the PPG signal combats motion artifacts that can degrade theaccuracy of SpO2 and HR estimations. According to embodiments disclosedherein, the OxiMA method may decompose the PPG signal into manyfrequency bands using a VFCDM method (Chon, K. H., S. Dash, and J.Kihwan, Estimation of Respiratory Rate From Photoplethysmogram DataUsing Time-Frequency Spectral Estimation. Biomedical Engineering, IEEETransactions on, 2009. 56(8): p. 2054-2063), or any other suitabletime-frequency technique, such as a wavelet analysis (Chon, K. H., S.Dash, and J. Kihwan, Estimation of Respiratory Rate FromPhotoplethysmogram Data Using Time-Frequency Spectral Estimation.Biomedical Engineering, IEEE Transactions on, 2009. 56(8): p.2054-2063). According to embodiments disclosed herein, those componentsthat are within the heart rate ranges including both extreme ranges ofthe low and high heart rates may be decomposed and used to reconstructthe PPG signal based on those components. As such, frequencies that arenot within the prescribed HR ranges may be removed. From thisreconstructed time series FIR may be estimated and SpO2 may beestimated, as disclosed above.

The dataset used to verify the OxiMA method's performance was collectedfrom 10 subjects during hypoxic experiments. The results show accurateestimation of both FIR and SpO2 even during the presence of severemotion artifacts where the average error was only 2.4 bpm. Moreimportantly, the average improvements in these estimates areastoundingly high for both HR (149%) and SpO2 (152%) when thereconstruction method applied, according to embodiments disclosedherein. Other methods for estimates of HR during severe motion artifactsfor PPG signal Zhilin, Z., P. Zhouyue, and L. Benyuan, TROIKA: A GeneralFramework for Heart Rate Monitoring Using Wrist-TypePhotoplethysmographic Signals During Intensive Physical Exercise.Biomedical Engineering, IEEE Transactions on, 2015. 62(2): p. 522-531;Zhang, Z., Photoplethysmography-Based Heart Rate Monitoring in PhysicalActivities via Joint Sparse Spectrum Reconstruction. BiomedicalEngineering, IEEE Transactions on, 2015. PP(99): p. 1-1; Salehizadeh,S., et al., A Novel Time-Varying Spectral Filtering Algorithm forReconstruction of Motion Artifact Corrupted Heart Rate Signals DuringIntense Physical Activities Using a Wearable Photoplethysmogram Sensor.Sensors, 2015. 16(1): p. 10) produced good results (Kalman, R. E., A NewApproach to Linear Filtering and Prediction Problems Transactions of theASME—Journal of Basic Engineering, 1960. Series D (82)). However, thesemethods are only confined to HR estimation and not SpO2. Specifically,previous PPG reconstruction methods, such as (Salehizadeh, S. M. A., etal., Photoplethysmograph Signal Reconstruction based on a Novel MotionArtifact Detection-Reduction Approach. Part II: Motion and NoiseArtifact Removal. Annals of Biomedical Engineering, 2014. 42(11): p.2251-2263; Kim, B. S. and S. K. Yoo, Motion artifact reduction inphotoplethysmography using independent component analysis. IEEE TransBiomed Eng, 2006. 53(3): p. 566-8), have been tested under MA conditionsbut not with concomitant hypoxia. The results, disclosed abele,illustrate the efficacy of a method which provides accurate estimates ofboth SpO2 and HR even when there are significant MA and concomitant lowoxygen saturation values.

Observations were made while analyzing the OxiMA data. The trackingability of the OxiMA method decreased as the frequency changes duringrecordings increased. This is mostly likely because OxiMA tracks adominant frequency through an 8-second window. Since each subjects'motion varied throughout each hypoxic maneuver, the dominant frequencycan change within the observed window. The strength of the PPG's LED isone of the most important factors determining the performance. Areduction in the strength of the PPG signal can be caused by ambientlight leaking into the gap between a PPG sensor and the skin surface(Zhang, Z., Photoplethysmography-Based Heart Rate Monitoring in PhysicalActivities via Joint Sparse Spectrum Reconstruction. BiomedicalEngineering, IEEE Transactions on, 2015. PP(99): p. 1-1). This isbecause the power of the signal is dependent on the depth and reflectionof the light from the pulse oximeter sensor to the subject's skin. Thisgap between the skin and the sensor may be the result of movement duringphysical activities or the shape of tissue that the sensors touch. Inthe datasets that have been analyzed, recordings #5 and #7 are examplesof the above two scenarios.

Additionally, the local blood perfusion of the monitored region affectsthe signal-to-noise ratio of the PPG signal. When performing the hypoxicmaneuvers, subjects' HR and breathing rate normally increase as oxygensaturation decreases. These physiologic changes cause more distinctpulsations in the digits, which increase the signal-to-noise ratio.

The OxiMA method can be easily implemented in real-time. Execution timeof the method has been found to be only 180 msec on data divided into 8second segments using Matlab® R2014a and CPU 3.6 GHz. Therefore, giventhe high accuracy of the OxiMA method in estimating FIR and SpO2 despitesevere motion artifacts, this method has the potential to be applicablefor implementation on wearable devices such as smart watches andPPG-based fitness sensors.

FIG. 23 is a block diagram of an example of the internal structure of acomputer 2300 in which various embodiments of the present disclosure maybe implemented. The computer 2300 contains a system bus 2302, where abus is a set of hardware lines used for data transfer among thecomponents of a computer or processing system. The system bus 2302 isessentially a shared conduit that connects different elements of acomputer system (e.g., processor, disk storage, memory, input/outputports, network ports, etc.) that enables the transfer of informationbetween the elements. Coupled to the system bus 2302 is an I/O deviceinterface 2404 for connecting various input and output devices (e.g.,keyboard, mouse, displays, printers, speakers, etc.) to the computer2300. A network interface 2306 allows the computer 2300 to connect tovarious other devices attached to a network. Memory 2308 providesvolatile storage for computer software instructions 2310 and data 2312that may be used to implement embodiments of the present disclosure.Disk storage 2314 provides non-volatile storage for computer softwareinstructions 2310 and data 2312 that may be used to implementembodiments of the present disclosure. A central processor unit 2318 isalso coupled to the system bus 2302 and provides for the execution ofcomputer instructions.

Further example embodiments disclosed herein may be configured using acomputer program product; for example, controls may be programmed insoftware for implementing example embodiments. Further exampleembodiments may include a non-transitory computer-readable mediumcontaining instructions that may be executed by a processor, and, whenloaded and executed, cause the processor to complete methods describedherein. It should be understood that elements of the block and flowdiagrams, such as the reconstruction unit 416, output unit 418,reconstruction unit 516, output unit 518, heart rate unit, arterialoxygen saturation (SpO2) unit, and ailment unit, disclosed above, may beimplemented in software, hardware, such as via one or more arrangementsof circuitry of FIG. 23, disclosed above, or equivalents thereof,firmware, a combination thereof, or other similar implementationdetermined in the future. In addition, the elements of the block andflow diagrams described herein may be combined or divided in any mannerin software, hardware, or firmware. If implemented in software, thesoftware may be written in any language that can support the exampleembodiments disclosed herein. The software may be stored in any form ofcomputer readable medium, such as random access memory (RAM), read onlymemory (ROM), compact disk read-only memory (CD-ROM), and so forth. Inoperation, a general purpose or application-specific processor orprocessing core loads and executes software in a manner well understoodin the art. It should be understood further that the block and flowdiagrams may include more or fewer elements, be arranged or orienteddifferently, or be represented differently. It should be understood thatimplementation may dictate the block, flow, and/or network diagrams andthe number of block and flow diagrams illustrating the execution ofembodiments disclosed herein.

The teachings of all patents, published applications and referencescited herein are incorporated by reference in their entirety.

While this invention has been particularly shown and described withreferences to example embodiments thereof, it will be understood bythose skilled in the art that various changes in form and details may bemade therein without departing from the scope of the inventionencompassed by the appended claims.

What is claimed is:
 1. A method for reconstructing a heart-relatedsignal output by a biomedical sensor, the method comprising:reconstructing a representation of the heart-related signal to produce areconstructed representation of the heart-related signal, thereconstructing based on (i) a time-varying spectral analysis of theheart-related signal and a motion signal, the motion signal output by amotion sensor and representative of motion artifacts in theheart-related signal, the motion artifacts being signal artifactsproduced by movement of the biomedical sensor relative to a sensinglocation, and (ii) a classification of the movement, wherein thetime-varying spectral analysis includes pre-processing the heart-relatedsignal to produce a pre-processed heart-related signal, pre-processingthe motion signal to produce a pre-processed motion signal, andcomputing a first time-frequency spectrum (TFS) of the heart-relatedsignal using the pre-processed heart-related signal and a second TFS ofthe motion signal using the pre-processed motion signal; and outputtingthe reconstructed representation of the heart-related signal.
 2. Themethod of claim 1, wherein the motion artifacts are suppressed in thereconstructed representation of the heart-related signal.
 3. The methodof claim 1, wherein: in an event the classification indicates that themovement does not rise to a level causing the motion artifacts, thereconstructed representation is based on an average value ofpeak-to-peak intervals in the pre-processed heart-related signal.
 4. Themethod of claim 1, wherein the pre-processing includes filtering theheart-related signal to produce a filtered heart-related signal, thefiltered heart-related signal being the pre-processed heart-relatedsignal.
 5. The method of claim 4, wherein the pre-processing furtherincludes down-sampling the filtered heart-related signal, thedown-sampling being at a sampling rate less than an original samplingrate.
 6. The method of claim 1, wherein the first TFS computed and thesecond TFS computed are 3-dimensional spectra, the first TFS computedand the second TFS computed each including a respective time-varyingamplitude or power distribution with respect to time and frequency. 7.The method of claim 1, wherein the first TFS computed is a firsttime-varying power spectral density (PSD) and the second TFS computed isa second time-varying PSD.
 8. The method of claim 1, wherein thereconstructed representation is a current reconstructed representationand wherein, based on the classification indicating that the movementdoes rise to a level causing the motion artifacts and is apseudo-periodic movement or a periodic movement, the reconstructingincludes: determining whether at least one spectral peak is presenthaving a corresponding frequency within a given frequency range at apoint in time in the first TFS computed, the current reconstructedrepresentation being reconstructed for the point in time; and wherein,based on a determination that the at least one spectral peak is notpresent, the current reconstructed representation is based on a priorreconstructed representation, the prior reconstructed representationassociated with a previous point in time in the first TFS computed. 9.The method of claim 8, wherein the given frequency range is 0.5 Hz to 3Hz.
 10. The method of claim 1, wherein the reconstructing includes:retaining up to a pre-determined number of candidate spectral peakslocated at a first point in time in the first TFS computed, thecandidate spectral peaks retained based on having correspondingfrequencies within a given frequency range and highest amplitude orpower values relative to other spectral peaks located at the first pointin time, the other spectral peaks having respective frequencies withinthe given frequency range; and discarding each of the candidate spectralpeaks retained that is associated with a same frequency as a dominantspectral peak located at a second point in time in the second TFScomputed, the first point in time and the second point in time havingsame time values.
 11. The method of claim 10, wherein the givenfrequency range is 0.5 Hz to 3 Hz.
 12. The method of claim 10, whereinthe representation is a current representation, wherein thereconstructed representation is a current reconstructed representation,and wherein, in an event the discarding discards each of the candidatespectral peaks retained, reconstructing the current representation isbased on a prior reconstructed representation, the prior reconstructedrepresentation associated with a previous point in time in the first TFScomputed, the previous point in time being an earlier point in time withrespect to the first point in time.
 13. The method of claim 10, whereinthe discarding is a first discarding and wherein the representation is acurrent representation and, wherein, in an event the first discardingresults in at least one remaining candidate spectral peak retained,reconstructing the current representation further includes: seconddiscarding, wherein the second discarding discards remaining candidatespectral peaks, of the at least one remaining candidate spectral peakretained, based on whether a corresponding frequency of the at least oneremaining candidate spectral peak retained is distanced by at least afrequency difference threshold from a prior reconstructedrepresentation's frequency, the prior reconstructed representationassociated with a previous point in time in the first TFS computed, theprevious point in time being an earlier point in time with respect tothe first point in time.
 14. The method of claim 13, wherein: based oneach of the at least one remaining candidate spectral peak retainedhaving been discarded by the second discarding, reconstructing thecurrent representation is based on the prior reconstructedrepresentation; and based on at least one last candidate spectral peakremaining, the at least one last candidate spectral peak remaining notdiscarded by the second discarding, reconstructing the currentrepresentation is based on a selected candidate spectral peak selectedfrom amongst the at least one last candidate spectral peak remaininghaving a closest corresponding frequency to the prior reconstructedrepresentation's frequency relative to respective frequencies of each ofthe at least one last candidate spectral peak remaining.
 15. The methodof claim 10, wherein the dominant spectral peak has a largest power oramplitude value relative to other peaks located at the second point intime in the second TFS.
 16. The method of claim 10, wherein theretaining and the discarding are based on: the classification indicatingthat the movement is a pseudo-periodic movement or a periodic movement;and determining that at least one spectral peak with a correspondingfrequency in the given frequency range is present at the first point intime.
 17. The method of claim 1, wherein the pre-processing includesfiltering the heart-related signal and the motion signal to produce afiltered heart-related signal and a filtered motion signal,respectively, the filtered heart-related signal being the pre-processedheart-related signal and the filtered motion signal being thepre-processed motion signal.
 18. The method of claim 17, wherein thepre-processing further includes down-sampling both the filteredheart-related signal and the filtered motion signal, the down-samplingbeing at a sampling rate less than an original sampling rate.
 19. Themethod of claim 1, further including: classifying the classification ofthe movement by comparing an amount of amplitude modulation in thesecond TFS computed to an amplitude modulation threshold, wherein theclassification indicates whether the movement rises to a level ofcausing the motion artifacts based on a result of the comparing.
 20. Themethod of claim 19, wherein the amplitude modulation threshold isdependent on a type of the motion detector sensor.
 21. The method ofclaim 19, wherein, in an event the result indicates that the movementdoes rise to the level causing the motion artifacts, classifying theclassification of the movement further includes determining whether themovement is either a pseudo-periodic movement or a periodic movement,versus a random movement.
 22. The method of claim 21, wherein, indetermining whether the movement is either the pseudo-periodic movementor the periodic movement, versus the random movement includes, themethod further includes: identifying a first, second, and thirdfrequency associated, respectively, with a first, second, and thirdspectral peak in the second TFS at a point in time in the second TFS,the first, second, and third peaks having largest power or amplitudevalues relative to other peaks in the second TFS at the point in time,the first spectral peak being a largest spectral peak amongst the first,second, and third spectral peaks; computing a first ratio of the secondfrequency identified to the first frequency identified and determining afirst comparison result by comparing the first ratio computed to a firstratio value; and computing a second ratio of the third frequencyidentified to the first frequency identified and determining a secondcomparison result by comparing the second ratio computed to a secondratio value, wherein the classification further indicates that themovement is either the pseudo-periodic movement or the periodicmovement, versus the random movement, based on the first comparisonresult and the second comparison result.
 23. The method of claim 22,wherein the first ratio value is 2 and the second ratio value is
 3. 24.The method of claim 1, wherein, in an event the classification of themovement indicates random movement, the reconstructing includes:computing an average value of a number of prior reconstructedrepresentations outputted prior to the reconstructing, the number basedon a duration of consecutive motion artifacts, detected prior to thereconstructing; computing a bandpass filter cutoff frequency based onthe average value computed; filtering the pre-processed heart-relatedsignal by applying the band pass filter computed to produce a filtered,pre-processed heart-related signal; and wherein the reconstructedrepresentation is based on an average peak-to-peak interval value of thefiltered, pre-processed heart-related signal.
 25. The method of claim 1,wherein the heart-related signal and the motion signal are produced,concurrently.
 26. The method of claim 1, further comprising: segmentingthe heart-related signal into a plurality of windowed heart-relatedsignal data segments and the motion signal into a correspondingplurality of windowed motion signal data segments; and repeating thereconstructing and the outputting for each windowed heart-related signaldata segment and each corresponding motion signal data segment.
 27. Themethod of claim 26, wherein the time window is a value in a range from 2to 32 seconds.
 28. The method of claim 1, wherein the biomedical sensoris at least one of: a photoplethysmogram (PPG) sensor, piezoelectricsensor, Light Emitting Diode (LED) based sensor, camera sensor, andpulse oximeter sensor, and wherein the motion sensor is anaccelerometer.
 29. The method of claim 1, wherein the biomedical sensorand the motion sensor are co-located.
 30. The method of claim 1, furthercomprising employing the reconstructed representation to determine aheart rate estimate.
 31. The method of claim 1, further comprisingemploying the reconstructed representation to determine an arterialoxygen saturation (SpO2) estimate.
 32. The method of claim 1, furthercomprising employing the reconstructed representation to detect orpredict a heart-related ailment, the heart-related ailment including atleast one of a heart rate variability (HRV) condition, atrialfibrillation condition, congestive heart failure condition, andtachycardia condition.
 33. The method of claim 1, wherein thereconstructing and the outputting are performed in real-time withrespect to production of the heart-related signal and the motion signal.34. The method of claim 1, wherein the reconstructing and the outputtingare performed in non-real-time with respect to production of theheart-related signal and the motion signal.
 35. An apparatus forreconstructing a heart-related signal output by a biomedical sensor, theapparatus comprising: a reconstruction unit configured to reconstruct arepresentation of the heart-related signal to produce a reconstructedrepresentation of the heart-related signal, the reconstructing based on(i) a time-varying spectral analysis of the heart-related signal and amotion signal, the motion signal output by a motion sensor andrepresentative of motion artifacts in the heart-related signal, themotion artifacts being signal artifacts produced by movement of thebiomedical sensor relative to a sensing location, and (ii) aclassification of the movement, wherein the time-varying spectralanalysis includes pre-processing the heart-related signal to produce apre-processed heart-related signal, pre-processing the motion signal toproduce a pre-processed motion signal, and computing a firsttime-frequency spectrum (TFS) of the heart-related signal using thepre-processed heart-related signal and a second TFS of the motion signalusing the pre-processed motion signal; and an output unit configured tooutput the reconstructed representation of the heart-related signal. 36.The apparatus of claim 35, wherein the motion artifacts are suppressedin the reconstructed representation of the heart-related signal.
 37. Theapparatus of claim 35, wherein: in an event the classification indicatesthat the movement does not rise to level causing the motion artifacts,the reconstructed representation is based on an average value ofpeak-to-peak intervals in the pre-processed heart-related signal. 38.The apparatus of claim 35, wherein the pre-processing includes filteringthe heart-related signal to produce a filtered heart-related signal, thefiltered heart-related signal being the pre-processed heart-relatedsignal.
 39. The apparatus of claim 38, wherein the pre-processingfurther includes down-sampling the filtered heart-related signal, thedown-sampling being at a sampling rate less than an original samplingrate.
 40. The apparatus of claim 35, wherein the first TFS computed andthe second TFS computed are 3-dimensional spectra, the first TFScomputed and the second TFS computed each including a respectivetime-varying amplitude or power distribution with respect to time andfrequency.
 41. The apparatus of claim 35, wherein the first TFS computedis a first time-varying power spectral density (PSD) and the second TFScomputed is a second time-varying PSD.
 42. The apparatus of claim 35,wherein the reconstructed representation is a current reconstructedrepresentation and wherein, based on the classification indicating thatthe movement does rise to a level causing the motion artifacts and is apseudo-periodic movement or a periodic movement, to reconstruct therepresentation includes: determining whether at least one spectral peakis present having a corresponding frequency within a given frequencyrange at a point in time in the first TFS computed, the currentreconstructed representation being reconstructed for the point in time;and wherein, based on a determination that the at least one spectralpeak is not present, the reconstructed current representation is basedon a prior reconstructed representation, the prior reconstructedrepresentation associated with a previous point in time in the first TFScomputed.
 43. The apparatus of claim 42, wherein the given frequencyrange is 0.5 Hz to 3 Hz.
 44. The apparatus of claim 35, wherein toreconstruct the representation includes: retaining up to apre-determined number of candidate spectral peaks located at a firstpoint in time in the first TFS computed, the candidate spectral peaksretained based on having corresponding frequencies within a givenfrequency range and highest amplitude or power values relative to otherspectral peaks located at the first point in time, the other spectralpeaks having respective frequencies within the given frequency range;and discarding each of the candidate spectral peaks retained that isassociated with a same frequency as a dominant spectral peak located ata second point in time in the second TFS computed, the first point intime and the second point in time having same time values.
 45. Theapparatus of claim 44, wherein the given frequency range is 0.5 Hz to 3Hz.
 46. The apparatus of claim 44, wherein the representation is acurrent representation, wherein the reconstructed representation is acurrent reconstructed representation, and wherein, in an event thediscarding discards each of the candidate spectral peaks retained,reconstructing the current representation is based on a priorreconstructed representation, the prior reconstructed representationassociated with a previous point in time in the first TFS computed, theprevious point in time being an earlier point in time with respect tothe first point in time.
 47. The apparatus of claim 44, wherein thediscarding is a first discarding and wherein the representation is acurrent representation and, wherein, in an event the first discardingresults in at least one remaining candidate spectral peak retained,reconstructing the current representation further includes: seconddiscarding, wherein the second discarding discards remaining candidatespectral peaks, of the at least one remaining candidate spectral peakretained, based on whether a corresponding frequency of the at least oneremaining candidate spectral peak retained is distanced by at least afrequency difference threshold from a prior reconstructedrepresentation's frequency, the prior reconstructed representationassociated with a previous point in time in the first TFS computed, theprevious point in time being an earlier point in time with respect tothe first point in time.
 48. The apparatus of claim 47, wherein: basedon each of the at least one remaining candidate spectral peak retainedhaving been discarded by the second discarding, reconstructing thecurrent representation is based on the prior reconstructedrepresentation; and based on at least one last candidate spectral peakremaining, the at least one last candidate spectral peak remaining notdiscarded by the second discarding, reconstructing the currentrepresentation is based on a selected candidate spectral peak selectedfrom amongst the at least one last candidate spectral peak remaininghaving a closest corresponding frequency to the prior reconstructedrepresentation's frequency relative to respective frequencies of each ofthe at least one last candidate spectral peak remaining.
 49. Theapparatus of claim 44, wherein the dominant spectral peak has a largestpower or amplitude value relative to other peaks located at the secondpoint in time in the second TFS.
 50. The apparatus of claim 44, whereinthe retaining and the discarding are based on: the classification of themovement indicating that the movement is a pseudo-periodic movement or aperiodic movement; and determining that at least one spectral peak witha corresponding frequency in the given frequency range is present at thefirst point in time.
 51. The apparatus of claim 35, wherein thepre-processing includes filtering the heart-related signal and themotion signal to produce a filtered heart-related signal and a filteredmotion signal, respectively, the filtered heart-related signal being thepre-processed heart-related signal and the filtered motion signal beingthe pre-processed motion signal.
 52. The apparatus of claim 51, whereinthe pre-processing further includes down-sampling, at a sampling rateless than an original sampling rate, both the filtered heart-relatedsignal and the filtered motion signal.
 53. The apparatus of claim 35,further including a classification unit, the classification unitconfigured to: classify the classification of the movement by comparingan amount of amplitude modulation in the second TFS computed to anamplitude modulation threshold, wherein the classification indicateswhether the movement rises to a level causing the motion artifacts basedon a result of the comparing.
 54. The apparatus of claim 53, wherein theamplitude modulation threshold is dependent on a type of the motiondetector sensor.
 55. The apparatus of claim 53, wherein, in an event theresult indicates that the movement does rise to the level causing themotion artifacts, the classification unit is further configured toclassify the classification of the movement by determining whether themovement is either a pseudo-periodic movement or a periodic movement,versus a random movement.
 56. The apparatus of claim 55, wherein todetermine whether the movement is either the pseudo-periodic movement orthe periodic movement versus a random movement includes: identifying afirst, second, and third frequency associated, respectively, with afirst, second, and third spectral peak in the second TFS at a point intime in the second TFS, the first, second, and third peaks havinglargest power or amplitude values relative to other peaks in the secondTFS at the point in time, the first spectral peak being a largestspectral peak amongst the first, second, and third spectral peaks;computing a first ratio of the second frequency identified to the firstfrequency identified and determining a first comparison result bycomparing the first ratio computed to a first ratio value; and computinga second ratio of the third frequency identified to the first frequencyidentified and determining a second comparison result by comparing thesecond ratio computed to a second ratio value, wherein theclassification further indicates that the movement is either thepseudo-periodic movement or the periodic movement, versus the randommovement, based on the first comparison result and the second comparisonresult.
 57. The apparatus of claim 56, wherein the first ratio value is2 and the second ratio value is
 3. 58. The apparatus of claim 55,wherein, in an event the classification of the movement indicates randommovement, the reconstructing includes: computing an average value of anumber of prior reconstructed representations outputted prior to thereconstructing, the number based on a duration of consecutive motionartifacts, detected prior to the reconstructing; computing a bandpassfilter cutoff frequency based on the average value computed; filteringthe pre-processed heart-related signal by applying the band pass filtercomputed to produce a filtered, pre-processed heart-related signal; andwherein the reconstructed representation is based on an averagepeak-to-peak interval value of the filtered, pre-processed heart-relatedsignal.
 59. The apparatus of claim 35, wherein the heart-related signaland the motion signal are produced, concurrently.
 60. The apparatus ofclaim 35, further comprising segmentation unit configured to: segmentthe heart-related signal into a plurality of windowed heart-relatedsignal data segments and the motion signal into corresponding pluralityof windowed motion signal data segments, wherein the reconstruction unitand the output unit reconstruct the representation and output thereconstructed representation, respectively, based on each windowedheart-related signal data segment and each corresponding motion signaldata segment.
 61. The apparatus of claim 60, wherein the time window isa value in a range from 2 to 32 seconds.
 62. The apparatus of claim 35,wherein the biomedical sensor is at least one of: a photoplethysmogram(PPG) sensor, piezoelectric sensor, Light Emitting Diode (LED) basedsensor, camera sensor, and pulse oximeter sensor, and wherein the motionsensor is an accelerometer.
 63. The apparatus of claim 35, wherein theapparatus includes the biomedical sensor and the motion sensor.
 64. Theapparatus of claim 35, further comprising a heart rate unit configuredto employ the reconstructed representation to determine a heart rateestimate.
 65. The apparatus of claim 35, further comprising an arterialoxygen saturation (SpO2) unit configured to employ the reconstructedrepresentation to determine a SpO2 estimate.
 66. The apparatus of claim35, further comprising an ailment unit configured to employ thereconstructed representation to detect or predict a heart-relatedailment, the heart-related ailment including at least one of a heartrate variability (HRV) condition, an atrial fibrillation condition, acongestive heart failure condition, and a tachycardia condition.
 67. Theapparatus of claim 35, wherein the reconstruction unit and the outputunit are configured to reconstruct and to output, respectively, inreal-time with respect to production of the heart-related signal and themotion signal.
 68. The apparatus of claim 35, wherein the reconstructionunit and the output unit are configured to reconstruct and to output,respectively, in non-real-time with respect to production of theheart-related signal and the motion signal.
 69. A non-transitorycomputer-readable medium having encoded thereon a sequence ofinstructions which, when loaded and executed by a processor, causes theprocessor to reconstruct a heart-related signal output by a biomedicalsensor, the processor reconstructing the heart-related signal by:reconstructing a representation of the heart-related signal to produce areconstructed representation of the heart-related signal, thereconstructing based on (i) a time-varying spectral analysis of theheart-related signal and a motion signal, the motion signal output by amotion sensor and representative of motion artifacts in theheart-related signal, the motion artifacts being signal artifactsproduced by movement of the biomedical sensor relative to a sensinglocation, and (ii) a classification of the movement, wherein thetime-varying spectral analysis includes pre-processing the heart-relatedsignal to produce a pre-processed heart-related signal, pre-processingthe motion signal to produce a pre-processed motion signal, andcomputing a first time-frequency spectrum (TFS) of the heart-relatedsignal using the pre-processed heart-related signal and a second TFS ofthe motion signal using the pre-processed motion signal; and outputtingthe reconstructed representation of the heart-related signal.
 70. Amethod for reconstructing a heart-related signal output by a biomedicalsensor, the method comprising: reconstructing a representation of theheart-related signal to produce a reconstructed representation of theheart-related signal, the reconstructing based on (i) a time-varyingspectral analysis of the heart-related signal and a motion signal, themotion signal output by a motion sensor and representative of motionartifacts in the heart-related signal, the motion artifacts being signalartifacts produced by movement of the biomedical sensor relative to asensing location, and (ii) a classification of the movement, wherein thetime-varying spectral analysis includes computing a first time-frequencyspectrum (TFS) of the heart-related signal and computing a second TFS ofthe motion signal; and outputting the reconstructed representation ofthe heart-related signal, wherein the reconstructed representation is acurrent reconstructed representation and wherein, based on theclassification indicating that the movement does rise to a level causingthe motion artifacts and is a pseudo-periodic movement or a periodicmovement, the reconstructing includes: determining whether at least onespectral peak is present having a corresponding frequency within a givenfrequency range at a point in time in the first TFS computed, thecurrent reconstructed representation being reconstructed for the pointin time; and wherein, based on a determination that the at least onespectral peak is not present, the current reconstructed representationis based on a prior reconstructed representation, the priorreconstructed representation associated with a previous point in time inthe first TFS computed.
 71. A method for reconstructing a heart-relatedsignal output by a biomedical sensor, the method comprising:reconstructing a representation of the heart-related signal to produce areconstructed representation of the heart-related signal, thereconstructing based on (i) a time-varying spectral analysis of theheart-related signal and a motion signal, the motion signal output by amotion sensor and representative of motion artifacts in theheart-related signal, the motion artifacts being signal artifactsproduced by movement of the biomedical sensor relative to a sensinglocation, and (ii) a classification of the movement, wherein thetime-varying spectral analysis includes computing a first time-frequencyspectrum (TFS) of the heart-related signal and computing a second TFS ofthe motion signal; and outputting the reconstructed representation ofthe heart-related signal, wherein the reconstructing includes: retainingup to a pre-determined number of candidate spectral peaks located at afirst point in time in the first TFS computed, the candidate spectralpeaks retained based on having corresponding frequencies within a givenfrequency range and highest amplitude or power values relative to otherspectral peaks located at the first point in time, the other spectralpeaks having respective frequencies within the given frequency range;and discarding each of the candidate spectral peaks retained that isassociated with a same frequency as a dominant spectral peak located ata second point in time in the second TFS computed, the first point intime and the second point in time having same time values.
 72. A methodfor reconstructing a heart-related signal output by a biomedical sensor,the method comprising: reconstructing a representation of theheart-related signal to produce a reconstructed representation of theheart-related signal, the reconstructing based on (i) a time-varyingspectral analysis of the heart-related signal and a motion signal, themotion signal output by a motion sensor and representative of motionartifacts in the heart-related signal, the motion artifacts being signalartifacts produced by movement of the biomedical sensor relative to asensing location, and (ii) a classification of the movement, wherein thetime-varying spectral analysis includes computing a first time-frequencyspectrum (TFS) of the heart-related signal and computing a second TFS ofthe motion signal; classifying the classification of the movement bycomparing an amount of amplitude modulation in the second TFS computedto an amplitude modulation threshold, wherein the classificationindicates whether the movement rises to a level of causing the motionartifacts based on a result of the comparing; and outputting thereconstructed representation of the heart-related signal.
 73. Anapparatus for reconstructing a heart-related signal output by abiomedical sensor, the apparatus comprising: a reconstruction unitconfigured to reconstruct a representation of the heart-related signalto produce a reconstructed representation of the heart-related signal,the reconstructing based on (i) a time-varying spectral analysis of theheart-related signal and a motion signal, the motion signal output by amotion sensor and representative of motion artifacts in theheart-related signal, the motion artifacts being signal artifactsproduced by movement of the biomedical sensor relative to a sensinglocation, and (ii) a classification of the movement, wherein thetime-varying spectral analysis includes computing a first time-frequencyspectrum (TFS) of the heart-related signal and computing a second TFS ofthe motion signal; and an output unit configured to output thereconstructed representation of the heart-related signal, wherein thereconstructed representation is a current reconstructed representationand wherein, based on the classification indicating that the movementdoes rise to a level causing the motion artifacts and is apseudo-periodic movement or a periodic movement, to reconstruct therepresentation includes: determining whether at least one spectral peakis present having a corresponding frequency within a given frequencyrange at a point in time in the first TFS computed, the currentreconstructed representation being reconstructed for the point in time;and wherein, based on a determination that the at least one spectralpeak is not present, the reconstructed current representation is basedon a prior reconstructed representation, the prior reconstructedrepresentation associated with a previous point in time in the first TFScomputed.
 74. An apparatus for reconstructing a heart-related signaloutput by a biomedical sensor, the apparatus comprising: areconstruction unit configured to reconstruct a representation of theheart-related signal to produce a reconstructed representation of theheart-related signal, the reconstructing based on (i) a time-varyingspectral analysis of the heart-related signal and a motion signal, themotion signal output by a motion sensor and representative of motionartifacts in the heart-related signal, the motion artifacts being signalartifacts produced by movement of the biomedical sensor relative to asensing location, and (ii) a classification of the movement, wherein thetime-varying spectral analysis includes computing a first time-frequencyspectrum (TFS) of the heart-related signal and computing a second TFS ofthe motion signal; and an output unit configured to output thereconstructed representation of the heart-related signal, wherein toreconstruct the representation includes: retaining up to apre-determined number of candidate spectral peaks located at a firstpoint in time in the first TFS computed, the candidate spectral peaksretained based on having corresponding frequencies within a givenfrequency range and highest amplitude or power values relative to otherspectral peaks located at the first point in time, the other spectralpeaks having respective frequencies within the given frequency range;and discarding each of the candidate spectral peaks retained that isassociated with a same frequency as a dominant spectral peak located ata second point in time in the second TFS computed, the first point intime and the second point in time having same time values.
 75. Anapparatus for reconstructing a heart-related signal output by abiomedical sensor, the apparatus comprising: a reconstruction unitconfigured to reconstruct a representation of the heart-related signalto produce a reconstructed representation of the heart-related signal,the reconstructing based on (i) a time-varying spectral analysis of theheart-related signal and a motion signal, the motion signal output by amotion sensor and representative of motion artifacts in theheart-related signal, the motion artifacts being signal artifactsproduced by movement of the biomedical sensor relative to a sensinglocation, and (ii) a classification of the movement, wherein thetime-varying spectral analysis includes computing a first time-frequencyspectrum (TFS) of the heart-related signal and computing a second TFS ofthe motion signal; a classification unit configured to classify theclassification of the movement by comparing an amount of amplitudemodulation in the second TFS computed to an amplitude modulationthreshold, wherein the classification indicates whether the movementrises to a level causing the motion artifacts based on a result of thecomparing; and an output unit configured to output the reconstructedrepresentation of the heart-related signal.